This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
chore(deps): update dependency eslint to v8 #52
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.
This PR contains the following updates:
6.8.0
->8.12.0
Release Notes
eslint/eslint
v8.12.0
Compare Source
Features
685a67a
feat: fix logic for top-levelthis
in no-invalid-this and no-eval (#15712) (Milos Djermanovic)Chores
18f5e05
chore: padding-line-between-statements remove uselessadditionalItems
(#15706) (Martin Sadovy)v8.11.0
Compare Source
Features
800bd25
feat: adddestructuredArrayIgnorePattern
option inno-unused-vars
(#15649) (Nitin Kumar)8933fe7
feat: Catchundefined
andBoolean()
in no-constant-condition (#15613) (Jordan Eldredge)f90fd9d
feat: Add ESLint favicon to the HTML report document (#15671) (Mahdi Hosseinzadeh)57b8a57
feat:valid-typeof
always banundefined
(#15635) (Zzzen)Bug Fixes
6814922
fix: escaping for square brackets in ignore patterns (#15666) (Milos Djermanovic)c178ce7
fix: extend the autofix range in comma-dangle to ensure the last element (#15669) (Milos Djermanovic)Documentation
c481cec
docs: add fast-eslint-8 to atom integrations (userguide) (#15695) (db developer)d2255db
docs: Add clarification abouteslint-enable
(#15680) (dosisod)8b9433c
docs: add object pattern to first section of computed-property-spacing (#15679) (Milos Djermanovic)de800c3
docs: link to minimatch docs added. (#15688) (Gaurav Tewari)8f675b1
docs: sort-imports add single named import example (#15675) (Arye Eidelman)Chores
385c9ad
chore: rm trailing space in docs (#15689) (唯然)v8.10.0
Compare Source
Features
6e2c325
feat: AddignoreOnInitialization
option to no-shadow rule (#14963) (Soufiane Boutahlil)115cae5
feat:--debug
prints time it takes to parse a file (#15609) (Bartek Iwańczuk)345e70d
feat: AddonlyOneSimpleParam
option to no-confusing-arrow rule (#15566) (Gautam Arora)Bug Fixes
cdc5802
fix: Avoid__dirname
for built-in configs (#15616) (DoZerg)ee7c5d1
fix: false positive incamelcase
with combined properties (#15581) (Nitin Kumar)Documentation
1005bd5
docs: update CLA information (#15630) (Nitin Kumar)5d65c3b
docs: Fix typo inno-irregular-whitespace
(#15634) (Ryota Sekiya)b93af98
docs: add links between rules about whitespace around block curly braces (#15625) (Milos Djermanovic)ebc0460
docs: update babel links (#15624) (Milos Djermanovic)Chores
7cec74e
chore: upgrade @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic)11c8580
chore: readESLINT_MOCHA_TIMEOUT
env var in Makefile.js (#15626) (Piggy)bfaa548
test: add integration tests with built-in configs (#15612) (Milos Djermanovic)39a2fb3
perf: fix lazy loading of core rules (#15606) (Milos Djermanovic)3fc9196
chore: includetests/conf
in test runs (#15610) (Milos Djermanovic)v8.9.0
Compare Source
Features
68f64a9
feat: update eslint-scope to ignore"use strict"
directives in ES3 (#15595) (Milos Djermanovic)db57639
feat: addes2016
,es2018
,es2019
, andes2022
environments (#15587) (Milos Djermanovic)2dc38aa
feat: fix bug with arrow function return types in function-paren-newline (#15541) (Milos Djermanovic)6f940c3
feat: Implement FlatRuleTester (#15519) (Nicholas C. Zakas)Documentation
570a036
docs: addone-var
example withfor-loop
initializer (#15596) (Milos Djermanovic)417191d
docs: Remove the $ prefix in terminal commands (#15565) (Andreas Lewis)389ff34
docs: add missingVariable#scope
property in the scope manager docs (#15571) (Milos Djermanovic)f63795d
docs: no-eval replace dead link with working one (#15568) (rasenplanscher)0383591
docs: Remove old Markdown issue template (#15556) (Brandon Mills)a8dd5a2
docs: add 'when not to use it' section in no-duplicate-case docs (#15563) (Milos Djermanovic)1ad439e
docs: add missed verb in docs (#15550) (Jeff Mosawy)Chores
586d45c
chore: Upgrade to [email protected] (#15600) (Milos Djermanovic)623e1e2
chore: Upgrade to [email protected] (#15599) (Milos Djermanovic)355b23d
chore: fix outdated link to Code of Conduct in PR template (#15578) (Rich Trott)b10fef2
ci: use Node 16 for browser test (#15569) (Milos Djermanovic)92f89fb
chore: suggest demo link in bug report template (#15557) (Brandon Mills)v8.8.0
Compare Source
Features
5d60812
feat: implement rfc 2021-suppression-support (#15459) (Yiwei Ding)Documentation
5769cc2
docs: fix relative link (#15544) (Nick Schonning)ccbc35f
docs: trimmed rules h1s to just be rule names (#15514) (Josh Goldberg)851f1f1
docs: fixed typo in comment (#15531) (Jiapei Liang)7d7af55
docs: address upcoming violation of markdownlint rule MD050/strong-style (#15529) (David Anson)v8.7.0
Compare Source
Features
19ad061
feat: no-restricted-imports support casing (#15439) (gfyoung)564ecdb
feat: Support arbitrary module namespace names in no-restricted-imports (#15491) (Milos Djermanovic)968a02a
feat: Support arbitrary module namespace names in no-useless-rename (#15493) (Milos Djermanovic)0d2b9a6
feat: moveeslint --init
to @eslint/create-config (#15150) (唯然)127f524
feat: false negative withproperty
option inid-match
(#15474) (Nitin Kumar)359b2c1
feat: Support arbitrary module namespace names in the camelcase rule (#15490) (Milos Djermanovic)3549571
feat: Support arbitrary module namespace names in the quotes rule (#15479) (Milos Djermanovic)5563c45
feat: Support arbitrary module namespace names in keyword-spacing (#15481) (Milos Djermanovic)fd3683f
feat: Support arbitrary module namespace names in no-restricted-exports (#15478) (Milos Djermanovic)Bug Fixes
a8db9a5
fix: no-invalid-this false positive in class field initializer (#15495) (Milos Djermanovic)02d6426
fix: Correctly consume RuleTester statics (#15507) (Brad Zacher)db15802
fix: Add propertyfatalErrorCount
to ignored file results (#15520) (Francesco Trotta)03ac8cf
fix: Prevent false positives with no-constant-condition (#15486) (Jordan Eldredge)Documentation
f50f849
docs: Update CLI docs to prefer local install (#15513) (Nicholas C. Zakas)0469eb1
docs: Update shell code fences for new website (#15522) (Olga)Chores
369fb1b
chore: Upgrade to [email protected] (#15526) (Brandon Mills)ba6317b
ci: remove master branch from CI configs (#15501) (Milos Djermanovic)79b6340
chore: fixed typo in client-Engine (#15497) (Abhay Gupta)6278281
chore: switchnew syntax
issue template to forms (#15480) (Nitin Kumar)v8.6.0
Compare Source
Features
6802a54
feat: handle logical assignment in no-self-assign (#14152) (Zzzen)3b38018
feat: allow to defineeslint-disable-next-line
in multiple lines (#15436) (Nitin Kumar)9d6fe5a
feat: false negative withonlyDeclarations
+properties
in id-match (#15431) (Nitin Kumar)Documentation
6c4dee2
docs: Document homedir is a configuration root (#15469) (Bas Bosman)51c37b1
docs: consistency changes (#15404) (Bas Bosman)775d181
docs: Mention character classes in no-useless-escape (#15421) (Sebastian Simon)Chores
3a384fc
chore: Upgrade espree to 9.3.0 (#15473) (Brandon Mills)1443cc2
chore: Update blogpost.md.ejs (#15468) (Nicholas C. Zakas)28e907a
refactor: remove unused parameter inlinter.js
(#15451) (Milos Djermanovic)eaa08d3
test: add tests forallowReserved
parser option with flat config (#15450) (Milos Djermanovic)v8.5.0
Compare Source
Features
94e77a6
feat: Suggestions support forprefer-regex-literals
(#15077) (Yash Singh)eafaf52
feat: addprefer-object-has-own
rule (#15346) (Nitin Kumar)Bug Fixes
7d832d4
fix: improveprefer-template
fixer (#15230) (Nitin Kumar)981fb48
fix: do not report global references inid-match
rule (#15420) (Nitin Kumar)f13d4a6
fix: improve autofix ofprefer-object-has-own
(#15419) (Nitin Kumar)f4559a0
fix: add helpful message when test case has non-string code/name (#15425) (Bryan Mishkin)Documentation
314c84c
docs: add an incorrect code example in for-direction (#15434) (Holger Jeromin)3928175
docs: add destructuring examples forcomputed-property-spacing
(#15423) (Nitin Kumar)a53e59e
docs: add more examples forarray-element-newline
rule (#15427) (Nitin Kumar)74cf0a0
docs: update CLA info (#15370) (Nitin Kumar)e84195e
docs: fix heading level for an option inclass-methods-use-this
rule (#15399) (Takuya Fukuju)Chores
225f211
test: add destructuring test cases forcomputed-property-spacing
(#15424) (Nitin Kumar)f2c7ba6
ci: use node v16 formacOS
andwindows
jobs (#15418) (Nitin Kumar)v8.4.1
Compare Source
Bug Fixes
234e3d9
fix: revert changes to reported locations in max-lines-per-function (#15397) (Milos Djermanovic)Documentation
fa4d483
docs: fix typo in example forsort-keys
rule (#15393) (Nitin Kumar)v8.4.0
Compare Source
Features
5771663
feat: addallowReserved
parser option (#15387) (Milos Djermanovic)32ac37a
feat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)d041f34
feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)8f44cf5
feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)808ad35
feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)f1b7499
feat: support async formatters (#15243) (MO)Bug Fixes
4940cc5
fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)Documentation
54deec5
docs: update integrations.md (#15380) (Vlad Sholokhov)fa0423a
docs: fix typo in PR template (#15365) (Nitin Kumar)e233920
docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)632176d
docs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)4497e88
docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)Chores
efede90
chore: upgrade @eslint/eslintrc@1.0.5 (#15389) (Milos Djermanovic)0b8c846
chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)94b2a8b
chore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)ba58d94
ci: use nodev16
for Verify Files (#15364) (Nitin Kumar)1e32ee5
chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)v8.3.0
Compare Source
Features
60b0a29
feat: addallowProperties
option to require-atomic-updates (#15238) (Milos Djermanovic)79278a1
feat: update no-use-before-define for class static blocks (#15312) (Milos Djermanovic)ddd01dc
feat: update no-redeclare for class static blocks (#15313) (Milos Djermanovic)de69cec
feat: update no-inner-declarations for class static blocks (#15290) (Milos Djermanovic)e2fe7ef
feat: support for private-in syntax (fixes #14811) (#15060) (Yosuke Ota)34bc8d7
feat: Update espree and eslint-scope (#15338) (Brandon Mills)b171cd7
feat: update max-depth for class static blocks (#15316) (Milos Djermanovic)6487df3
feat: update padded-blocks for class static blocks (#15333) (Milos Djermanovic)194f36d
feat: update the complexity rule for class static blocks (#15328) (Milos Djermanovic)3530337
feat: update the indent rule for class static blocks (#15324) (Milos Djermanovic)f03cd14
feat: update lines-around-comment for class static blocks (#15323) (Milos Djermanovic)5c64747
feat: update brace-style for class static blocks (#15322) (Milos Djermanovic)df2f1cc
feat: update max-statements for class static blocks (#15315) (Milos Djermanovic)fd5a0b8
feat: update prefer-const for class static blocks (#15325) (Milos Djermanovic)b3669fd
feat: code path analysis for class static blocks (#15282) (Milos Djermanovic)15c1397
feat: update eslint-scope for class static blocks (#15321) (Milos Djermanovic)1a1bb4b
feat: update one-var for class static blocks (#15317) (Milos Djermanovic)9b666e0
feat: update padding-line-between-statements for class static blocks (#15318) (Milos Djermanovic)d3a267f
feat: update class-methods-use-this for class static blocks (#15298) (Milos Djermanovic)cdaa541
feat: update no-lone-blocks for class static blocks (#15295) (Milos Djermanovic)8611538
feat: update block-spacing for class static blocks (#15297) (Milos Djermanovic)7b56844
feat: update keyword-spacing for class static blocks (#15289) (Milos Djermanovic)ea18711
feat: update no-extra-semi for class static blocks (#15287) (Milos Djermanovic)0f0971f
feat: update semi rule for class static blocks (#15286) (Milos Djermanovic)abe740c
feat: add examples for block-scoped-var with class static blocks (#15302) (Milos Djermanovic)0338fd2
feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268) (Yosuke Ota)Bug Fixes
8aa7645
fix: update vars-on-top for class static blocks (#15306) (Milos Djermanovic)479a4cb
fix: update semi-style for class static blocks (#15309) (Milos Djermanovic)6d1c666
fix: update no-invalid-this and no-eval for class static blocks (#15300) (Milos Djermanovic)Documentation
6b85426
docs: Expand--debug
option description in the CLI documentation (#15308) (darkred)3ae5258
docs: the strict rule does not apply to class static blocks (#15314) (Milos Djermanovic)9309841
docs: Remove inconsistent colon in pull request docs (#15303) (Jordan Eldredge)da238cc
docs: remove deprecation note from lines-around-comment (#15293) (Milos Djermanovic)1055f16
docs: no-unused-expressions - class static blocks don't have directives (#15283) (Milos Djermanovic)4c55216
docs: Add variables option to no-use-before-define (#15276) (Mathias Rasmussen)Chores
edd8d24
chore: upgrade eslint-visitor-keys for class static blocks (#15277) (Milos Djermanovic)v8.2.0
Compare Source
Features
c9fefd2
feat: report class evaluation TDZ errors in no-use-before-define (#15134) (Milos Djermanovic)Documentation
c415c04
docs: Use string rule severity in CLI examples (#15253) (Kevin Partington)12b627d
docs: fix typo inworking-with-rules.md
(#15233) (Nitin Kumar)a86ffc0
docs: fix broken anchor in configuration files (#15223) (Pierre Berger)ee8af5f
docs: Link to unit tests from rule documentation (#15207) (Brandon Mills)1c0ca3c
docs: addci
andperf
tags for commit (#15215) (Nitin Kumar)Build Related
796587a
build: upgrade eslint-release to v3.2.0 to support conventional commits (#15246) (Milos Djermanovic)Chores
cf5b6be
chore: update @eslint/eslintrc to avoid different versions ofjs-yaml
(#15265) (Milos Djermanovic)4fd7a6c
perf: don't prepare a fix for valid code in key-spacing (#15239) (Milos Djermanovic)fda533c
chore: updatestrip-ansi
dependency (#15221) (Nitin Kumar)67949bd
ci: Remove Node 16 CI prerelease workaround (#14935) (Brandon Mills)v8.1.0
Compare Source
446b4b3
Docs: Update commit message format docs (#15200) (Nicholas C. Zakas)d9d84a0
Fix: keyword-spacing conflict with space-infix-ops on>
(fixes #14712) (#15172) (Milos Djermanovic)a1f7ad7
Fix: allowbaseConfig
to extend preloaded plugin config (fixes #15079) (#15187) (Milos Djermanovic)3d370fb
New: Add no-unused-private-class-members rule (fixes #14859) (#14895) (Tim van der Lippe)e926b17
New: Add name to RuleTester (#15179) (Gareth Jones)90a5b6b
Chore: improve performance of:function
selector (#15181) (Milos Djermanovic)31af1c8
Chore: fix counting of files in performance test (#15190) (Milos Djermanovic)1b87fa8
Build: add node v17 (#15193) (唯然)0fb3bb2
Docs: removeinstanceof
from keyword-spacing docs (#15180) (Milos Djermanovic)249a040
Upgrade:eslint-plugin-eslint-plugin
to v4 (#15169) (Bryan Mishkin)35f3254
Docs: Describe range in rule docs (fixes #14162) (#15174) (Nicholas C. Zakas)b5049c8
Chore: Update stale bot settings (#15173) (Nicholas C. Zakas)2b32f50
Docs: Fix typo in README.md (#15168) (Dmitriy Fishman)dd58cd4
Chore: migrate master to main (#15062) (Nitesh Seram)ec0f8e0
Chore: Add stale issue/PR checker (#15151) (Nicholas C. Zakas)2cfbd4b
Docs: Update README team and sponsors (ESLint Jenkins)v8.0.1
Compare Source
f9217e5
Upgrade: @eslint/eslintrc@1.0.3 for Jest workaround (#15164) (Brandon Mills)c584a63
Chore: add ecmaVersion 13 to types.js (#15163) (Milos Djermanovic)ff5fcd4
Docs: add 13 as allowed ecma version (fixes #15159) (#15162) (唯然)v8.0.0
Compare Source
7d3f7f0
Upgrade: unfrozen @eslint/eslintrc (fixes #15036) (#15146) (Brandon Mills)2174a6f
Fix: require-atomic-updates property assignment message (fixes #15076) (#15109) (Milos Djermanovic)f885fe0
Docs: add note and example for extending the range of fix (refs #13706) (#13748) (Milos Djermanovic)3da1509
Docs: Add jsdoctype
annotation to sample rule (#15085) (Bryan Mishkin)68a49a9
Docs: Update Rollup Integrations (#15142) (xiaohai)d867f81
Docs: Remove a dot from curly link (#15128) (Mauro Murru)9f8b919
Sponsors: Sync README with website (ESLint Jenkins)4b08f29
Sponsors: Sync README with website (ESLint Jenkins)ebc1ba1
Sponsors: Sync README with website (ESLint Jenkins)2d654f1
Docs: add example .eslintrc.json (#15087) (Nicolas Mattia)16034f0
Docs: fix fixable example (#15107) (QiChang Li)07175b8
8.0.0-rc.0 (ESLint Jenkins)71faa38
Build: changelog update for 8.0.0-rc.0 (ESLint Jenkins)67c0074
Update: Suggest missing rule in flat config (fixes #14027) (#15074) (Nicholas C. Zakas)cf34e5c
Update: space-before-blocks ignore after switch colons (fixes #15082) (#15093) (Milos Djermanovic)c9efb5f
Fix: preserve formatting when rules are removed from disable directives (#15081) (Milos Djermanovic)14a4739
Update:no-new-func
rule catching eval case ofMemberExpression
(#14860) (Mojtaba Samimi)7f2346b
Docs: Update release blog post template (#15094) (Nicholas C. Zakas)fabdf8a
Chore: Removetarget.all
fromMakefile.js
(#15088) (Hirotaka Tagawa / wafuwafu13)e3cd141
Sponsors: Sync README with website (ESLint Jenkins)05d7140
Chore: document target global in Makefile.js (#15084) (Hirotaka Tagawa / wafuwafu13)0a1a850
Update: includeruleId
in error logs (fixes #15037) (#15053) (Ari Perkkiö)47be800
Chore: test Property > .key with { a = 1 } pattern (fixes #14799) (#15072) (Milos Djermanovic)a744dfa
Docs: Update CLA info (#15058) (Brian Warner)9fb0f70
Chore: fix bug report template (#15061) (Milos Djermanovic)f87e199
Chore: Cleanup issue templates (#15039) (Nicholas C. Zakas)660f075
8.0.0-beta.2 (ESLint Jenkins)d148ffd
Build: changelog update for 8.0.0-beta.2 (ESLint Jenkins)9e5c2e8
Upgrade: @eslint/eslintrc@1.0.1 (#15047) (Milos Djermanovic)7cf96cf
Breaking: Disallow reserved words in ES3 (fixes #15017) (#15046) (Milos Djermanovic)88a3952
Update: support class fields in thecomplexity
rule (refs #14857) (#14957) (Milos Djermanovic)9bd3d87
Fix: semicolon-less style in lines-between-class-members (refs #14857) (#15045) (Milos Djermanovic)6d1ccb6
Update: enforceForClassFields in class-methods-use-this (refs #14857) (#15018) (YeonJuan)91e82f5
Docs: LintMessage.line and column are possibly undefined (#15032) (Brandon Mills)921ba1e
Chore: fix failing cli test (#15041) (Milos Djermanovic)dd56631
Docs: remove duplicate code path analysis document (#15033) (Milos Djermanovic)143a598
Chore: Switch issues to use forms (#15024) (Nicholas C. Zakas)f966fe6
Fix: Update semi for class-fields (refs #14857) (#14945) (Nicholas C. Zakas)8c61f5a
Docs: add info about non-capturing groups to prefer-named-capture-group (#15009) (Andrzej Wódkiewicz)dd10937
Update: added ignoreExpressions option to max-classes-per-file (#15000) (Josh Goldberg)e9764f3
Fix: no-undef-init should not apply to class fields (refs #14857) (#14994) (Milos Djermanovic)4338b74
Docs: add no-dupe-class-members examples with class fields (refs #14857) (#15005) (Milos Djermanovic)b4232d4
Chore: Add test that deprecated rules display a deprecated notice (#14989) (TagawaHirotaka)88b4e3d
Docs: Make clear how rule options are overridden (fixes #14962) (#14976) (Jake Ob)4165c7f
Docs: Clarify Linter vs ESLint in node.js api docs (fixes #14953) (#14995) (Brian Bartels)80cfb8f
Docs: fix typo in migration guide (#14985) (Nitin Kumar)1ddc955
8.0.0-beta.1 (ESLint Jenkins)95cc61e
Build: changelog update for 8.0.0-beta.1 (ESLint Jenkins)05ca24c
Update: Code path analysis for class fields (fixes #14343) (#14886) (Nicholas C. Zakas)db15183
Chore: Refactor comments of tests (#14956) (TagawaHirotaka)396a0e3
Docs: update ScopeManager with class fields (#14974) (Milos Djermanovic)6663e7a
Docs: removedocs
script (fixes #14288) (#14971) (Nitin Kumar)44c6fc8
Update: support class fields in func-name-matching (refs #14857) (#14964) (Milos Djermanovic)44f7de5
Docs: Update deprecated information (#14961) (TagawaHirotaka)305e14a
Breaking: remove meta.docs.category in core rules (fixes [#13398](https://togithub.com/eslint/eslint/isConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.