Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!
Version 8.10.0 (2023-08-03)
Added: [max-statements-per-line]. Thanks to @Zamiell!
Version 8.9.0 (2023-07-27)
Added: [vue/array-element-newline]. Thanks to @xcatliu!
Version 8.8.0 (2023-03-20)
Added: [@typescript-eslint/lines-around-comment]. Thanks to @ttionya!
Version 8.7.0 (2023-03-06)
Added: [@typescript-eslint/block-spacing]. Thanks to @ttionya!
Added: [@typescript-eslint/key-spacing]. Thanks to @ttionya!
Version 8.6.0 (2023-01-02)
Added: [vue/multiline-ternary]. Thanks to @xcatliu!
Version 8.5.0 (2022-03-02)
Added: [@typescript-eslint/space-before-blocks]. Thanks to Masafumi Koba (@ybiquitous)!
Bumps the dev-dependencies group with 12 updates:
Updates
@zeit/ncc
from 0.21.1 to 0.22.3Release notes
Sourced from
@zeit/ncc
's releases.Commits
5644160
0.22.3ef2123e
0.22.2678e0b7
Update to webpack-asset-relocator-loader@0.7.2 (#540)a83ae0c
webpack-asset-relocator-loader@0.7.0 (#535)688435c
Bump https-proxy-agent from 2.2.1 to 2.2.4 (#530)9aaee33
Properly populate cached js filename and fix misaligned columns (#528)a3aef08
enable strictModuleExceptionHandling (#529)9082d53
0.22.193b5969
Add Node.js 12 CI (#525)788b64d
0.22.0Updates
eslint
from 6.8.0 to 8.47.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
98b155f
8.47.0928cecc
Build: changelog update for 8.47.0bf69aa6
chore: Update dependencies (#17456)0e45760
chore: package.json update for@eslint/js
release631648e
fix: do not report on shadowed constructors inno-new-wrappers
(#17447)757bfe1
chore: Remove add-to-triage (#17450)b066640
chore: standardize npm script names (#17431)a766a48
docs: document lack of config file names (#17442)a1635d6
docs: Update README6b2410f
chore: Update add-to-triage.yml (#17444)Updates
eslint-config-airbnb
from 18.0.1 to 19.0.4Commits
d4e39c9
v19.0.4baaa5e8
[eslint config] v19.0.3274c8d5
[eslint config] [patch] setnamedComponents
option to match style guide38bc026
[eslint config] [base] add disabledprefer-object-has-own
rule445322d
[eslint config] [deps] updateeslint-plugin-react
152bd5e
[eslint config] v19.0.2afc2cc3
[eslint config] [meta] fix "exports" path371537f
[Tests] re-enable tests disabled for the eslint 8 upgradec05ffb2
[eslint config] v19.0.197a3238
[eslint config] [deps] updateeslint-plugin-react
Updates
eslint-config-prettier
from 6.10.0 to 9.0.0Changelog
Sourced from eslint-config-prettier's changelog.
... (truncated)
Commits
1982680
eslint-config-prettier v9.0.0f197969
Do not disable unicode-bom (#250)a8bc57e
Flat config: CLI, tests, docs (#261)baab944
eslint-config-prettier v8.10.0552483b
feat: max-statements-per-line (#263)aa1aa34
eslint-config-prettier v8.9.07d9ed21
Update everything (#260)2a2438e
feat: off vue/array-element-newline (#259)6b48bb2
Bump word-wrap from 1.2.3 to 1.2.4 (#258)311351b
Use matrix.os in check.yml (#251)Updates
eslint-plugin-import
from 2.20.1 to 2.28.0Release notes
Sourced from eslint-plugin-import's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-import's changelog.
... (truncated)
Commits
a257df9
Bump to 2.28.0600fcc1
[Refactor]order
: useobject.groupby
be928ae
[Refactor]no-internal-modules
: simplify a reducee7c2486
[Refactor]no-useless-path-segments
: use.filter
instead of.reduce
89f5d0d
[Refactor]no-anonymous-default-export
: usefromEntries
instead ofreduce
703e9f9
[Refactor]no-duplicates
,no-unused-modules
: useflatMap
instead of `ma...70f24f1
[Tests] allow WSL builds to fail, for now90e2dfa
[Fix]no-unused-modules
: report error on binding instead of parent exportd3aa478
[Tests]no-unused-modules
: document error reported on entireexport
state...3e1dd0b
[Fix]no-unused-modules
: improve schemaUpdates
eslint-plugin-jsx-a11y
from 6.2.3 to 6.7.1Release notes
Sourced from eslint-plugin-jsx-a11y's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-jsx-a11y's changelog.