[Snyk] Upgrade eslint from 4.10.0 to 6.5.1 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade
eslint
from 4.10.0 to 6.5.1.Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
Release notes
0d3d7d9
Docs: fix typo in no-magic-numbers (#12345) (Josiah Rooney)447ac87
Fix: no-useless-rename handles ExperimentalRestProperty (fixes #12335) (#12339) (Kai Cataldo)b6ff73c
Sponsors: Sync README with website (ESLint Jenkins)73596cb
Update: Add enforceForSwitchCase option to use-isnan (#12106) (Milos Djermanovic)d592a24
Fix: exclude\u000d
so new line won't convert to text (fixes #12027) (#12031) (zamboney)e85d27a
Fix: no-regex-spaces false positives and invalid autofix (fixes #12226) (#12231) (Milos Djermanovic)b349bf7
Fix: prefer-named-capture-group incorrect locations (fixes #12233) (#12247) (Milos Djermanovic)7dc1ea9
Fix: no-useless-return autofix removes comments (#12292) (Milos Djermanovic)0e68677
Fix: no-extra-bind autofix removes comments (#12293) (Milos Djermanovic)6ad7e86
Fix: no-extra-label autofix removes comments (#12298) (Milos Djermanovic)acec201
Fix: no-undef-init autofix removes comments (#12299) (Milos Djermanovic)d89390b
Fix: use async reading of stdin in bin/eslint.js (fixes #12212) (#12230) (Barrie Treloar)334ca7c
Update: no-useless-rename also reports default values (fixes #12301) (#12322) (Kai Cataldo)41bfe91
Update: Fix handling of chained new expressions in new-parens (#12303) (Milos Djermanovic)160b7c4
Chore: add autofix npm script (#12330) (Kai Cataldo)04b6adb
Chore: enable eslint-plugin-jsdoc (refs #11146) (#12332) (Kai Cataldo)9b86167
Docs: Add new ES environments to Configuring ESLint (#12289) (Milos Djermanovic)c9aeab2
Docs: Add supported ECMAScript version to README (#12290) (Milos Djermanovic)8316e7b
Fix: no-useless-rename autofix removes comments (#12300) (Milos Djermanovic)29c12f1
Chore: cache results in runtime-info (#12320) (Kai Cataldo)f5537b2
Fix: prefer-numeric-literals autofix removes comments (#12313) (Milos Djermanovic)11ae6fc
Update: Fix call, new and member expressions in no-extra-parens (#12302) (Milos Djermanovic)a7894eb
New: add --env-info flag to CLI (#12270) (Kai Cataldo)61392ff
Sponsors: Sync README with website (ESLint Jenkins)2c6bf8e
Docs: English fix (#12306) (Daniel Nixon)6f11877
Sponsors: Sync README with website (ESLint Jenkins)2e202ca
Docs: fix links in array-callback-return (#12288) (Milos Djermanovic)e39c631
Docs: add example for CLIEngine#executeOnText 3rd arg (#12286) (Kai Cataldo)d4f9a16
Update: add support for JSXFragments in indent rule (fixes #12208) (#12210) (Kai Cataldo)c6af95f
Sponsors: Sync README with website (ESLint Jenkins)8cadd52
Sponsors: Sync README with website (ESLint Jenkins)f9fc695
Chore: enable default-param-last (#12244) (薛定谔的猫)9984c3e
Docs: Update README team and sponsors (ESLint Jenkins)e915fff
Docs: Improve examples and clarify default option (#12067) (Yuping Zuo)540296f
Update: enforceForClassMembers option to accessor-pairs (fixes #12063) (#12192) (Milos Djermanovic)d3c2334
Update: flag nested block with declaration as error (#12193) (David Waller)b2498d2
Update: Fix handling of property names in no-self-assign (#12105) (Milos Djermanovic)1ee61b0
Update: enforceForClassMembers computed-property-spacing (fixes #12049) (#12214) (Milos Djermanovic)520c922
Docs: Added naming convention details to plugin usage (#12202) (Henrique Barcelos)f826eab
Fix: Allow line comment exception in object-curly-spacing (fixes #11902) (#12216) (Milos Djermanovic)db2a29b
Update: indentation of comment followed by semicolon (fixes #12232) (#12243) (Kai Cataldo)ae17d1c
Fix: no-sequences is reporting incorrect locations (#12241) (Milos Djermanovic)365331a
Fix: object-shorthand providing invalid fixes for typescript (#12260) (Brad Zacher)1c921c6
New: add no-import-assign (fixes #12237) (#12252) (Toru Nagashima)3be04fd
New: Add prefer-regex-literals rule (fixes #12238) (#12254) (Milos Djermanovic)37c0fde
Update: Report global Atomics calls in no-obj-calls (fixes #12234) (#12258) (Milos Djermanovic)985c9e5
Fix: space-before-function-paren autofix removes comments (fixes #12259) (#12264) (Milos Djermanovic)01da7d0
Fix: eqeqeq rule reports incorrect locations (#12265) (Milos Djermanovic)319e4d8
Docs: adding finally example (#12256) (Jens Melgaard)d52328f
Docs: fix no-sequenceswith
examples (#12239) (Milos Djermanovic)a41fdc0
Fix: Remove autofixer for no-unsafe-negation (#12157) (Milos Djermanovic)e38f5fd
Update: fix no-octal-escape false negatives after \0 (#12079) (Milos Djermanovic)9418fbe
Sponsors: Sync README with website (ESLint Jenkins)acc5ec5
Sponsors: Sync README with website (ESLint Jenkins)460c5ad
Sponsors: Sync README with website (ESLint Jenkins)0313441
New: add rule default-param-last (fixes #11361) (#12188) (Chiawen Chen)7621f5d
Update: add more specific linting messages to space-in-parens (#11121) (Che Fisher)21eb904
Fix: basePath of OverrideTester (fixes #12032) (#12205) (Toru Nagashima)86e5e65
Sponsors: Sync README with website (ESLint Jenkins)2b1a13f
Fix: no-extra-boolean-cast reports wrong negation node (fixes #11324) (#12197) (Milos Djermanovic)ba8c2aa
Sponsors: Sync README with website (ESLint Jenkins)a0a9746
Docs: Fix link in no-irregular-whitespace.md (#12196) (Timo Tijhof)e10eeba
Fix: quotes autofix produces syntax error with octal escape sequences (#12118) (Milos Djermanovic)0acdefb
Chore: refactor code (#12113) (James George)52e2cf5
New: reportUnusedDisableDirectives in config (refs eslint/rfcs#22) (#12151) (Toru Nagashima)020f952
Update: enforceForSequenceExpressions to no-extra-parens (fixes #11916) (#12142) (Milos Djermanovic)aab1b84
Fix: reset to the default color (#12174) (Ricardo Gobbo de Souza)4009d39
Fix: yoda rule produces invalid autofix with preceding yield (#12166) (Milos Djermanovic)febb660
Fix: no-extra-boolean-cast invalid autofix with yield before negation (#12164) (Milos Djermanovic)4c0b70b
New: support TypeScript at config initializer (fixes #11789) (#12172) (Pig Fang)94e39d9
Chore: use GitHub Actions (#12144) (Toru Nagashima)e88f305
Chore: support es2020 in fuzz (#12180) (薛定谔的猫)00d2c5b
Docs: corrected class extension example (#12176) (Marius M)31e5428
Chore: Fix wrong error object keys in test files (#12162) (Milos Djermanovic)197f443
Fix: func-name-matching crash on descriptor-like arguments (#12100) (Milos Djermanovic)644ce33
Fix: no-self-assign false positive with rest and spread in array (#12099) (Milos Djermanovic)a81d263
Fix: fix message of function-paren-newline (#12136) (Pig Fang)77f8ed1
Chore: update blogpost template (#12154) (Toru Nagashima)6abc7b7
Docs: Document the exception in no-unsafe-negation (#12161) (Milos Djermanovic)0e0b784
Upgrade: espree@^6.1.1 (#12158) (Kevin Partington)04e859f
Sponsors: Sync README with website (ESLint Jenkins)34783d1
Sponsors: Sync README with website (ESLint Jenkins)b809e72
Docs: Update README team and sponsors (ESLint Jenkins)8c021b5
Upgrade: eslint-utils 1.4.2 (#12131) (Toru Nagashima)e82388b
Sponsors: Sync README with website (ESLint Jenkins)4aeeeed
Docs: update docs for ecmaVersion 2020 (#12120) (silverwind)6886148
Docs: Add duplicate keys limitation to accessor-pairs (#12124) (Milos Djermanovic)fee6acb
Update: support bigint and dynamic import (refs #11803) (#11983) (Toru Nagashima)afd8012
New: noInlineConfig setting (refs eslint/rfcs#22) (#12091) (Toru Nagashima)3d12378
Update: Fix accessor-pairs to enforce pairs per property in literals (#12062) (Milos Djermanovic)8cd00b3
New: function-call-argument-newline (#12024) (finico)30ebf92
Fix: prefer-template autofix produces syntax error with octal escapes (#12085) (Milos Djermanovic)13c3988
Fix: Check literal type explicitly in dot-notation (#12095) (Milos Djermanovic)3e5ceca
Fix: Handle empty string property names in getFunctionNameWithKind (#12104) (Milos Djermanovic)9a043ff
Fix: no-duplicate-case false positives on Object.prototype keys (#12107) (Milos Djermanovic)fe631af
Chore: minor typo fix (#12112) (James George)4cb7877
Fix: fix no-extra-parens ignores some nodes (#11909) (Pig Fang)2dc23b8
Update: fix no-dupe-keys false negatives on empty string names (#12069) (Milos Djermanovic)19ab666
Fix: yoda exceptRange false positives on empty string property names (#12071) (Milos Djermanovic)d642150
Update: Check empty string property names in sort-keys (#12073) (Milos Djermanovic)acce6de
Fix: class-methods-use-this reports 'undefined' names (#12103) (Milos Djermanovic)92ec2cb
Fix: Allow bind call with a single spread element in no-extra-bind (#12088) (Milos Djermanovic)bfdb0c9
Fix: no-extra-boolean-cast invalid autofix for Boolean() without args (#12076) (Milos Djermanovic)34ccc0c
Chore: Remove TDZ scope type condition from no-unused-vars (#12055) (Milos Djermanovic)01d38ce
Docs: Remove TDZ scope from the scope manager interface documentation (#12054) (Milos Djermanovic)1aff8fc
Update: warn about mixing ternary and logical operators (fixes #11704) (#12001) (Karthik Priyadarshan)11be2f8
Docs: do not recommend global-installed usage (#12016) (薛定谔的猫)cf31dab
Fix: no-restricted-syntax - correct the schema (#12051) (Brad Zacher)fbec99e
Update: fix class-methods-use-this false negatives with exceptMethods (#12077) (Milos Djermanovic)fb08b7c
Docs: Remove readonly/writable global logic from no-undef (fixes #11963) (#12053) (Milos Djermanovic)5b5934b
Sponsors: Sync README with website (ESLint Jenkins)9156760
Sponsors: Sync README with website (ESLint Jenkins)f5e0cc4
Update: Check computed method keys in no-extra-parens (#11973) (Milos Djermanovic)d961438
Docs: Fix Incorrect Documentation (#12045) (Michael Miceli)887d08c
Sponsors: Sync README with website (ESLint Jenkins)d90183f
Docs: add a case to func-names (#12038) (Chiawen Chen)8a5b62d
Docs: no use eslint.linter in code example (#12037) (薛定谔的猫)5831767
Update: report location of func-names (fixes #12022) (#12028) (Pig Fang)8f86cca
Upgrade: eslint-scope@^5.0.0 (#12011) (Kevin Partington)d08683e
Fix: glob processing (fixes #11940) (#11986) (Toru Nagashima)bfcf8b2
Fix: dot-location errors with parenthesized objects (fixes #11868) (#11933) (Milos Djermanovic)79e8d09
Fix: add parens for sequence expr in arrow-body-style (fixes #11917) (#11918) (Pig Fang)105c098
Docs: update docs for object-curly-spacing (fixes #11634) (#12009) (Chiawen Chen)c90a12c
Chore: update release script for new website repo (#12006) (Kai Cataldo)e2c08a9
Sponsors: Sync README with website (ESLint Jenkins)b974fcb
Update: Check computed property keys in no-extra-parens (#11952) (Milos Djermanovic)222d27c
Update: Add for-in and for-of checks for props in no-param-reassign (#11941) (Milos Djermanovic)e4c450f
Fix: no-extra-parens autofix within
in a for-loop init (fixes #11706) (#11848) (Milos Djermanovic)2dafe2d
Fix: prefer-const produces invalid autofix (fixes #11699) (#11827) (Milos Djermanovic)cb475fd
Fix: Cache file error handling on read-only file system. (fixes #11945) (#11946) (Cuki)89412c3
Docs: Fixed a typo (fixes #11999) (#12000) (Eddie Olson)6669f78
Fix: --init with Vue.js failed (fixes #11970) (#11985) (Toru Nagashima)93633c2
Upgrade: Upgrade lodash dependency (fixes #11992) (#11994) (Cyd La Luz)776dae7
Docs: fix wrong Node.js version in getting started (#11993) (Toru Nagashima)4448261
Docs: some typos and optimization points (#11960) (Jason Lee)2a10856
Chore: Add temporary test files to .gitignore (#11978) (Milos Djermanovic)d83b233
Chore: update path for release bundles (#11977) (Kai Cataldo)1fb3620
Fix: creating of enabledGlobals object without prototype (fixes #11929) (#11935) (finico)c2f2db9
Docs: Replace global true and false with writable and readonly in rules (#11956) (Milos Djermanovic)19335b8
Fix: actual messageId and expected messageId are switched in rule tester (#11928) (Milos Djermanovic)8b216e0
Docs: Fix incorrect example comments for unicode-bom rule (fixes #11937) (#11938) (Brandon Yeager)cc3885b
Chore: add v8-compile-cache to speed up instantiation time (#11921) (薛定谔的猫)d8f2688
Upgrade: deps (#11904) (薛定谔的猫)e5f1ccc
Docs: add 'stricter rule config validating' in migrating docs (#11905) (薛定谔的猫)b5bde06
Fix: --rulesdir option didn't work (fixes #11888) (#11890) (Toru Nagashima)13f0418
Fix: improve error message on --print-config (fixes #11874) (#11885) (Toru Nagashima)056c2aa
Fix: improve diagnostics for shareable-config-missing errors (#11880) (Teddy Katz)566b7aa
Docs: Update no-confusing-arrow with the new default option (#11886) (Yuping Zuo)d07f3fa
Fix: CLIEngine#getRules() contains plugin rules (fixes #11871) (#11872) (Toru Nagashima)21f4a80
Docs: Fix inconsistent linking in migration guide (#11881) (Teddy Katz)f3a0774
Docs: Fix typo in 6.0.0 migration guide (#11870) (Kevin Partington)81aa06b
Upgrade: [email protected] (#11869) (Teddy Katz)5f022bc
Fix: no-else-return autofix produces name collisions (fixes #11069) (#11867) (Milos Djermanovic)ded9548
Fix: multiline-comment-style incorrect message (#11864) (golopot)cad074d
Docs: Add JSHint W047 compat to no-floating-decimal (#11861) (Timo Tijhof)41f6304
Upgrade: sinon (#11855) (Toru Nagashima)167ce87
Chore: remove unuseable profile command (#11854) (Toru Nagashima)c844c6f
Fix: max-len properly ignore trailing comments (fixes #11838) (#11841) (ZYSzys)1b5661a
Fix: no-var should not fix variables named 'let' (fixes #11830) (#11832) (Milos Djermanovic)4d75956
Build: CI with Azure Pipelines (#11845) (Toru Nagashima)1db3462
Chore: rm superfluous argument & fix perf-multifiles-targets (#11834) (薛定谔的猫)c57a4a4
Upgrade: @babel/polyfill => core-js v3 (#11833) (薛定谔的猫)65faa04
Docs: Clarify prefer-destructuring array/object difference (fixes #9970) (#11851) (Oliver Sieweke)81c3823
Fix: require-atomic-updates reports parameters (fixes #11723) (#11774) (Toru Nagashima)aef8ea1
Sponsors: Sync README with website (ESLint Jenkins)🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs