Releases: eslint/eslint
Releases · eslint/eslint
v8.27.0
Features
f14587c
feat: newno-new-native-nonconstructor
rule (#16368) (Sosuke Suzuki)978799b
feat: add new ruleno-empty-static-block
(#16325) (Sosuke Suzuki)69216ee
feat: no-empty suggest to add comment in empty BlockStatement (#16470) (Nitin Kumar)319f0a5
feat: usecontext.languageOptions.ecmaVersion
in core rules (#16458) (Milos Djermanovic)
Bug Fixes
c3ce521
fix: Ensure unmatched glob patterns throw an error (#16462) (Nicholas C. Zakas)886a038
fix: handle files with unspecified path ingetRulesMetaForResults
(#16437) (Francesco Trotta)
Documentation
ce93b42
docs: Stylelint property-no-unknown (#16497) (Nick Schonning)d2cecb4
docs: Stylelint declaration-block-no-shorthand-property-overrides (#16498) (Nick Schonning)0a92805
docs: stylelint color-hex-case (#16496) (Nick Schonning)74a5af4
docs: fix stylelint error (#16491) (Milos Djermanovic)324db1a
docs: explicit stylelint color related rules (#16465) (Nick Schonning)94dc4f1
docs: use Stylelint for HTML files (#16468) (Nick Schonning)cc6128d
docs: enable stylelint declaration-block-no-duplicate-properties (#16466) (Nick Schonning)d03a8bf
docs: Add heading to justification explanation (#16430) (Maritaria)8a15968
docs: add Stylelint configuration and cleanup (#16379) (Nick Schonning)9b0a469
docs: note commit messages don't support scope (#16435) (Andy Edwards)1581405
docs: improve context.getScope() docs (#16417) (Ben Perlmutter)b797149
docs: update formatters template (#16454) (Milos Djermanovic)5ac4de9
docs: fix link to formatters on the Core Concepts page (#16455) (Vladislav)33313ef
docs: core-concepts: fix link to semi rule (#16453) (coderaiser)
v8.26.0
Features
4715787
feat: checkObject.create()
in getter-return (#16420) (Yuki Hirasawa)28d1902
feat:no-implicit-globals
supportsexported
block comment (#16343) (Sosuke Suzuki)e940be7
feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#16356) (Tomer Aberbach)dd0c58f
feat: Swap out Globby for custom globbing solution. (#16369) (Nicholas C. Zakas)
Bug Fixes
df77409
fix: usebaseConfig
constructor option in FlatESLint (#16432) (Milos Djermanovic)33668ee
fix: Ensure that glob patterns are matched correctly. (#16449) (Nicholas C. Zakas)740b208
fix: ignore messages without aruleId
ingetRulesMetaForResults
(#16409) (Francesco Trotta)8f9759e
fix:--ignore-pattern
in flat config mode should be relative tocwd
(#16425) (Milos Djermanovic)325ad37
fix: makegetRulesMetaForResults
return a plain object in trivial case (#16438) (Francesco Trotta)a2810bc
fix: Ensure that directories can be unignored. (#16436) (Nicholas C. Zakas)35916ad
fix: Ensure unignore and reignore work correctly in flat config. (#16422) (Nicholas C. Zakas)
Documentation
651649b
docs: Core concepts page (#16399) (Ben Perlmutter)631cf72
docs: note --ignore-path not supported with flat config (#16434) (Andy Edwards)1692840
docs: fix syntax in examples for new config files (#16427) (Milos Djermanovic)d336cfc
docs: Document extending plugin with new config (#16394) (Ben Perlmutter)
Chores
v8.25.0
Features
173e820
feat: Pass --max-warnings value to formatters (#16348) (Brandon Mills)6964cb1
feat: remove support for ignore files in FlatESLint (#16355) (Milos Djermanovic)1cc4b3a
feat:id-length
counts graphemes instead of code units (#16321) (Sosuke Suzuki)
Documentation
90c6028
docs: Conflicting fixes (#16366) (Ben Perlmutter)5a3fe70
docs: Add VS to integrations page (#16381) (Maria José Solano)49bd1e5
docs: remove unused link definitions (#16376) (Nick Schonning)3bd380d
docs: typo cleanups for docs (#16374) (Nick Schonning)b3a0837
docs: remove duplicate words (#16378) (Nick Schonning)a682562
docs: addBigInt
tonew-cap
docs (#16362) (Sosuke Suzuki)f6d57fb
docs: Update docs README (#16352) (Ben Perlmutter)7214347
docs: fix logical-assignment-operators option typo (#16346) (Jonathan Wilsson)
Chores
1f78594
chore: upgrade @eslint/eslintrc@1.3.3 (#16397) (Milos Djermanovic)8476a9b
chore: Remove CODEOWNERS (#16375) (Nick Schonning)720ff75
chore: use "ci" for Dependabot commit message (#16377) (Nick Schonning)42f5479
chore: bump actions/stale from 5 to 6 (#16350) (dependabot[bot])e5e9e27
chore: removejsdoc
dev dependency (#16344) (Milos Djermanovic)
v8.24.0
Features
1729f9e
feat: account forsourceType: "commonjs"
in the strict rule (#16308) (Milos Djermanovic)b0d72c9
feat: add rule logical-assignment-operators (#16102) (fnx)f02bcd9
feat:array-callback-return
supportfindLast
andfindLastIndex
(#16314) (Sosuke Suzuki)
Documentation
2c152ff
docs: note false positiveObject.getOwnPropertyNames
in prefer-reflect (#16317) (AnnAngela)bf7bd88
docs: fix warn severity description for new config files (#16324) (Nitin Kumar)8cc0bbe
docs: use more clean link syntax (#16309) (Percy Ma)6ba269e
docs: fix typo (#16288) (jjangga0214)
Chores
v8.23.1
Bug Fixes
b719893
fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)734b54e
fix: improve autofix for theprefer-const
rule (#16292) (Nitin Kumar)6a923ff
fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)c6900f8
fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)
Documentation
16cba3f
docs: fix mobile double tap issue (#16293) (Sam Chen)e098b5f
docs: keyboard control to search results (#16222) (Shanmughapriyan S)1b5b2a7
docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)1ae8236
docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)279f0af
docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)
Chores
v8.23.0
Features
3e5839e
feat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas)30b1a2d
feat: addallowEmptyCase
option to no-fallthrough rule (#15887) (Amaresh S M)43f03aa
feat: no-warning-comments support comments with decoration (#16120) (Lachlan Hunt)
Documentation
b1918da
docs: package.json conventions (#16206) (Patrick McElhaney)0e03c33
docs: remove word immediately (#16217) (Strek)c6790db
docs: add anchor link for "migrating from jscs" (#16207) (Percy Ma)7137344
docs: auto-generation edit link (#16213) (Percy Ma)
Chores
2e004ab
chore: upgrade @eslint/eslintrc@1.3.1 (#16249) (Milos Djermanovic)d35fbbe
chore: Upgrade to espree@9.4.0 (#16243) (Milos Djermanovic)ed26229
test: add no-extra-parens tests with rest properties (#16236) (Milos Djermanovic)deaf69f
chore: fix off-by-onemin-width: 1023px
media queries (#15974) (Milos Djermanovic)63dec9f
refactor: simplifyparseListConfig
(#16241) (Milos Djermanovic)
v8.22.0
Features
2b97607
feat: Implement caching for FlatESLint (#16190) (Nicholas C. Zakas)fd5d3d3
feat: addmethodsIgnorePattern
option to object-shorthand rule (#16185) (Milos Djermanovic)
Documentation
9f5a752
docs: optimize image assets (#16170) (Sam Chen)61b2948
docs: add svgo command to pre commit hook (#16178) (Amaresh S M)784096d
docs: improve search result UI (#16187) (Sam Chen)d0f4cb4
docs: use shorthand property name in example (#16180) (Kevin Elliott)
Chores
v8.21.0
Features
7b43ea1
feat: Implement FlatESLint (#16149) (Nicholas C. Zakas)92bf49a
feat: improve the key width calculation inkey-spacing
rule (#16154) (Nitin Kumar)c461542
feat: add newallowLineSeparatedGroups
option to thesort-keys
rule (#16138) (Nitin Kumar)1cdcbca
feat: add deprecation warnings for legacy API inRuleTester
(#16063) (Nitin Kumar)
Bug Fixes
0396775
fix: lines-around-comment applyallowBlockStart
for switch statements (#16153) (Nitin Kumar)
Documentation
Chores
v8.20.0
Features
Bug Fixes
30be0ed
fix: no-warning-comments rule escapes special RegEx characters in terms (#16090) (Lachlan Hunt)bfe5e88
fix: ignore spacing before]
and}
in comma-spacing (#16113) (Milos Djermanovic)
Documentation
845c4f4
docs: Add website team details (#16115) (Nicholas C. Zakas)5a0dfdb
docs: Link to blog post in no-constant-binary-expression (#16112) (Jordan Eldredge)bc692a9
docs: remove install command (#16084) (Strek)49ca3f0
docs: don't show toc when content not found (#16095) (Amaresh S M)ba19e3f
docs: enhance 404 page UI (#16097) (Amaresh S M)a75d3b4
docs: remove unused meta.docs.category field in working-with-rules page (#16109) (Brandon Scott)cdc0206
docs: add formatters page edit link (#16094) (Amaresh S M)4d1ed22
docs: preselect default theme (#16098) (Strek)4b79612
docs: add missing correct/incorrect containers (#16087) (Milos Djermanovic)09f6acb
docs: fix UI bug on rules index and details pages (#16082) (Deepshika S)f5db264
docs: remove remaining duplicate rule descriptions (#16093) (Milos Djermanovic)32a6b2a
docs: Add scroll behaviour smooth (#16056) (Amaresh S M)
Chores
bbf8df4
chore: Mark autogenerated release blog post as draft (#16130) (Nicholas C. Zakas)eee4306
chore: update internal lint dependencies (#16088) (Bryan Mishkin)9615a42
chore: update formatter examples template to avoid markdown lint error (#16085) (Milos Djermanovic)62541ed
chore: fix markdown linting error (#16083) (唯然)
v8.19.0
Features
7023628
feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott)472c368
feat: fix handling of blocklesswith
statements in indent rule (#16068) (Milos Djermanovic)
Bug Fixes
Documentation
3ae0574
docs: Remove duplicate rule descriptions (#16052) (Amaresh S M)f50cf43
docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas)ae4b449
docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic)280f898
docs: use only fenced code blocks (#16044) (Milos Djermanovic)f5d63b9
docs: add listener only if element exists (#16045) (Amaresh S M)8b639cc
docs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然)b8e68c1
docs: Update release process (#16036) (Nicholas C. Zakas)6d0cb11
docs: remove table of contents from markdown text (#15999) (Nitin Kumar)
Chores
e884933
chore: usegithub-slugger
for markdown anchors (#16067) (Strek)02e9cb0
chore: revamp carbon ad style (#16078) (Amaresh S M)b6aee95
chore: remove unwanted comments from rules markdown (#16054) (Strek)6840940
chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin)48904fb
chore: add missing images (#16017) (Amaresh S M)910f741
chore: add architecture to nav (#16039) (Strek)9bb24c1
chore: add correct incorrect in all rules doc (#16021) (Deepshika S)5a96af8
chore: prepare versions data file (#16035) (Nicholas C. Zakas)50afe6f
chore: Included githubactions in the dependabot config (#15985) (Naveen)473411e
chore: add deploy workflow for playground (#16034) (Milos Djermanovic)a30b66c
chore: fix print style (#16025) (Amaresh S M)f4dad59
chore: add noindex meta tag (#16016) (Milos Djermanovic)db387a8
chore: fix sitemap (#16026) (Milos Djermanovic)285fbc5
chore: remove TOC from printable (#16020) (Strek)8e84c21
chore: remove ligatures from fonts (#16019) (Strek)