Note for eslint plugin authors and other API consumers
TypeScript v5.3 shipped with a type change that was incompatible with our types. This change has been fixed and will be released in v5.3.3. Until that time you can work around this error using skipLibCheck.
Bug Fixes
typescript-estree: ensure backwards compat with pre-5.3 import attributes (#7967) (810fc8c)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
utils: add missing fields to flat config types (#7933) (533861a)
utils: allow string processor in flat config (024ed9e)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
Features
[member-ordering] add accessor support for member-ordering (#7927) (3c8312d)
Note for eslint plugin authors and other API consumers
TypeScript v5.3 shipped with a type change that was incompatible with our types. This change has been fixed and will be released in v5.3.3. Until that time you can work around this error using skipLibCheck.
Bug Fixes
typescript-estree: ensure backwards compat with pre-5.3 import attributes (#7967) (810fc8c)
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if ignoreClassesThatImplementAnInterface is set (#7705) (155aa1f)
eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#7706) (f151b26)
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
utils: add missing fields to flat config types (#7933) (533861a)
utils: allow string processor in flat config (024ed9e)
Add support for transforming new CSS gradient syntax for older browsers
The specification called CSS Images Module Level 4 introduces new CSS gradient syntax for customizing how the browser interpolates colors in between color stops. You can now control the color space that the interpolation happens in as well as (for "polar" color spaces) control whether hue angle interpolation happens clockwise or counterclockwise. You can read more about this in Mozilla's blog post about new CSS gradient features.
With this release, esbuild will now automatically transform this syntax for older browsers in the target list. For example, here's a gradient that should appear as a rainbow in a browser that supports this new syntax:
You can now use this syntax in your CSS source code and esbuild will automatically convert it to an equivalent gradient for older browsers. In addition, esbuild will now also transform "double position" and "transition hint" syntax for older browsers as appropriate:
Add support for transforming new CSS gradient syntax for older browsers
The specification called CSS Images Module Level 4 introduces new CSS gradient syntax for customizing how the browser interpolates colors in between color stops. You can now control the color space that the interpolation happens in as well as (for "polar" color spaces) control whether hue angle interpolation happens clockwise or counterclockwise. You can read more about this in Mozilla's blog post about new CSS gradient features.
With this release, esbuild will now automatically transform this syntax for older browsers in the target list. For example, here's a gradient that should appear as a rainbow in a browser that supports this new syntax:
You can now use this syntax in your CSS source code and esbuild will automatically convert it to an equivalent gradient for older browsers. In addition, esbuild will now also transform "double position" and "transition hint" syntax for older browsers as appropriate:
Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@gurgunday)!
Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.
Version 9.0.0 (2023-08-05)
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)!
Bumps the dependencies group with 24 updates:
1.3.92
1.3.100
25.0.5
25.0.7
0.2.1
0.3.0
4.3.6
4.3.11
3.1.7
3.1.9
2.0.1
2.0.3
10.0.2
10.0.6
18.15.0
20.10.4
1.0.2
1.0.4
5.62.0
6.13.2
5.62.0
6.13.2
2.3.5
2.3.8
2.21.1
2.22.0
0.18.20
0.19.9
8.50.0
8.55.0
8.10.0
9.1.0
35.0.0
42.0.0
2.28.1
2.29.0
15.7.0
16.4.0
2.8.8
3.1.1
15.0.1
16.1.2
3.29.4
4.8.0
15.2.0
17.0.1
5.1.6
5.3.3
Updates
@swc/core
from 1.3.92 to 1.3.100Commits
02add74
chore: Publishv1.3.100
withswc_core
v0.86.84
(#8359)60ebd11
chore: Publish 1.3.100-nightly-20231130.10845693
chore: Publish crates2cdea3f
fix(es/codegen): Wrap quote for length greater than one (#8351)655e95a
chore: Publish cratesff719f0
fix(es/fixer): Wrap yield expression in await expression (#8357)1853280
chore: Publish crates55da0bb
chore(css/linter): Document rules require porting (#8352)a87d50b
chore: Publish 1.3.100-nightly-20231129.114dbece
chore: Publish 1.3.100-nightly-20231128.1Updates
@rollup/plugin-commonjs
from 25.0.5 to 25.0.7Changelog
Sourced from
@rollup/plugin-commonjs
's changelog.Commits
ad406ba
chore(release): commonjs v25.0.78e2ed59
fix(commonjs,dynamic-import-vars,esm-shim,inject,replace,strip): bump magic-s...88687f0
chore(release): commonjs v25.0.6cb579c8
fix(commonjs): Keep the shebang at the top of the file content (#1610)Updates
@rollup/plugin-swc
from 0.2.1 to 0.3.0Changelog
Sourced from
@rollup/plugin-swc
's changelog.Commits
2c58b01
chore(release): swc v0.3.0a4c7679
feat(swc): allow passingenv
property as option (#1624)dcd8da5
chore(repo): use@dot/versioner
for releases (#1612)Updates
@types/chai
from 4.3.6 to 4.3.11Commits
Updates
@types/debounce-promise
from 3.1.7 to 3.1.9Commits
Updates
@types/json-parse-safe
from 2.0.1 to 2.0.3Commits
Updates
@types/mocha
from 10.0.2 to 10.0.6Commits
Updates
@types/node
from 18.15.0 to 20.10.4Commits
Updates
@types/readline-transform
from 1.0.2 to 1.0.4Commits
Updates
@typescript-eslint/eslint-plugin
from 5.62.0 to 6.13.2Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
cc2c6d3
chore: publish v6.13.237f34f4
docs: add 'When Not To Use It' or an intentional omission notice on all rules...96abf18
chore: finish enabling no-unnecessary-condition internally (#8004)4dae083
chore: prefix all nx package scripts with npx (#7988)14f3ff0
chore: publish v6.13.139c437a
chore: publish v6.13.09093e95
chore: publish v6.12.02e535b8
chore(deps): update dependency prettier to v3.1.0 (#7938)4cfcd45
feat(eslint-plugin): [switch-exhaustiveness-check] add requireDefaultForNonUn...155aa1f
fix(eslint-plugin): [class-methods-use-this] detect a problematic case for pr...Updates
@typescript-eslint/parser
from 5.62.0 to 6.13.2Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
cc2c6d3
chore: publish v6.13.24dae083
chore: prefix all nx package scripts with npx (#7988)14f3ff0
chore: publish v6.13.139c437a
chore: publish v6.13.09093e95
chore: publish v6.12.02e535b8
chore(deps): update dependency prettier to v3.1.0 (#7938)06496e2
chore: publish v6.11.075c1288
chore: publish v6.10.01e47294
chore: publish v6.9.1101563b
chore: publish v6.9.0Updates
@vscode/test-electron
from 2.3.5 to 2.3.8Changelog
Sourced from
@vscode/test-electron
's changelog.Commits
Updates
@vscode/vsce
from 2.21.1 to 2.22.0Commits
10309ba
remove win32-ia32 (#908)a001296
docs: fix grammatical error in engine mismatch message (#907)955a554
missing comma added for README.md (#903)Updates
esbuild
from 0.18.20 to 0.19.9Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
9edc9d4
publish 0.19.9 to npm791619e
release notes: link to gradient tests83b4171
css: implement lowering of gradient syntax4a3b265
css: fixcalc()
inlining whitespace bug90989ec
remove a stray log statementf260285
css gradients: handle color transition hintse4c55af
css gradients: lower colors, fix double positionsa389c52
css: addlab()
+lch()
+oklab()
+oklch()
b837f21
css: avoid overwriting manual fallback colors824ede6
css: simplifycolor()
duplication fallback logicUpdates
eslint
from 8.50.0 to 8.55.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
e0cb960
8.55.0969b272
Build: changelog update for 8.55.0eb8950c
chore: upgrade@eslint/js
@8
.55.0 (#17811)93df384
chore: package.json update for@eslint/js
releasefe4b954
chore: upgrade@eslint/eslintrc
@2
.1.4 (#17799)8c9e6c1
feat: importNamePattern option in no-restricted-imports (#17721)83ece2a
docs: fix typo--rules
->--rule
(#17806)bd8911d
ci: pin Node.js 21.2.0 (#17809)b29a16b
chore: fix severalcli
tests to run in the intended flat config mode (#17797)fffca5c
docs: remove "Open in Playground" buttons for removed rules (#17791)Updates
eslint-config-prettier
from 8.10.0 to 9.1.0Changelog
Sourced from eslint-config-prettier's changelog.
Commits
40c7f3d
eslint-config-prettier v9.1.04110dff
Merge pull request #271 from prettier/deprecated6d0bd92
Update tests to handle newly deprecated rulesSuperseded by #229.