-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Comparing changes
Open a pull request
base repository: eslint/eslint
base: v8.23.1
head repository: eslint/eslint
compare: v8.24.0
- 11 commits
- 21 files changed
- 9 contributors
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6ba269e - Browse repository at this point
Copy the full SHA 6ba269eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc0bbe - Browse repository at this point
Copy the full SHA 8cc0bbeView commit details
Commits on Sep 16, 2022
-
feat:
array-callback-return
supportfindLast
andfindLastIndex
(#…Configuration menu - View commit details
-
Copy full SHA for f02bcd9 - Browse repository at this point
Copy the full SHA f02bcd9View commit details -
feat: add rule logical-assignment-operators (#16102)
* feat: add rule logical-assignment-operators Fixes #13689 * docs: update rule documentation - State the concept of the rule clearer - Increase the heading level for options * chore: unify ast-utils import * fix: only check for void 0 in undefined checks * fix: always fix for the logical pattern * feat: support yoda conditions in if conditions * fix: remove parenthesis around assignment target if necessary * fix: parenthesize logical pattern if needed * fix: add semicolon for if patterns with a body if needed * fix: remove file extension from import Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * fix: check strictness of global scope instead of current scope to avoid checking for with * fix: check for mixed ?? and ||/&& operators in the fix for never * fix: check previous token for continuation problems in the if fix * feat: support else if (and fix suggest cases for if) * fix: do not remove else keyword for else if * fix: if cases also suggest based on potential getter * fix: also fix if only a single property is accessed for the if pattern * fix: do not fix logical patterns with a deeper access * fix: check whether Boolean references a global * fix: allow test conditions to access the same static property (a.b <=> a['b']) * fix: use the whole assignment operator with equals in the message and add operator for 'if' messages * docs: remove edit_link * docs: remove description from docs as it is autogenerated from rule.meta.docs.description * docs: move introductory text before rule details * docs: add missing 'logical' to rule description * docs: fix formatting for options * docs: include all logical operators for option 'never' * docs: add examples for option 'always' * docs: add examples of for the 'enforceForIfStatements' option and swap correct with incorrect sections * fix: disallow optional chaining for the logical pattern * fix: fixer does not delete parenthesis around the right operand in the assignment pattern * fix: remove multiple parenthesis around the right operand in the logical pattern * test: add data property for suggestions * docs: add missing comma in description Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * test: clean up unnecessary data, add missing data and pass missing options for test case * fix: do not allow property accesses in a computed property when checking for a single property access * test: add test cases for private identifiers Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b0d72c9 - Browse repository at this point
Copy the full SHA b0d72c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1729f9e - Browse repository at this point
Copy the full SHA 1729f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 504fe59 - Browse repository at this point
Copy the full SHA 504fe59View commit details
Commits on Sep 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf7bd88 - Browse repository at this point
Copy the full SHA bf7bd88View commit details
Commits on Sep 19, 2022
-
docs: note false positive
Object.getOwnPropertyNames
in prefer-refl……ect (#16317) * docs: Add note to disclose inappropriate behavior Due to #16305 (comment) the falsely suggestion should be disclose to users to avoid further confusion See #16305 * docs(prefer-reflect): Remove the section about `getOwnPropertyNames` Make the document clean * docs: Apply suggestions from code review Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * docs: Mark the value as string Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * docs: remove duplicated consecutive blank line Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update docs/src/rules/prefer-reflect.md Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2c152ff - Browse repository at this point
Copy the full SHA 2c152ffView commit details
Commits on Sep 22, 2022
-
chore: Upgrade @humanwhocodes/config-array for perf (#16339)
Latest version of the package includes more aggressive caching. Refs #16302
Configuration menu - View commit details
-
Copy full SHA for 131e646 - Browse repository at this point
Copy the full SHA 131e646View commit details
Commits on Sep 23, 2022
-
Build: changelog update for 8.24.0
ESLint Jenkins committedSep 23, 2022 Configuration menu - View commit details
-
Copy full SHA for f2cfacd - Browse repository at this point
Copy the full SHA f2cfacdView commit details -
ESLint Jenkins committed
Sep 23, 2022 Configuration menu - View commit details
-
Copy full SHA for a578780 - Browse repository at this point
Copy the full SHA a578780View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.23.1...v8.24.0