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)!
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!
#6238210e44 Thanks @BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.
Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#6212b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively
What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!
#6163856413 Thanks @BPScott! - Add recommended config for the flat config format.
If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.
#6238210e44 Thanks @BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.
Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#6212b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively
What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!
#6163856413 Thanks @BPScott! - Add recommended config for the flat config format.
If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.
Bumps the eslint group with 9 updates in the / directory:
5.53.0
7.14.1
5.53.0
7.14.1
8.34.0
9.5.0
8.6.0
9.1.0
2.12.1
3.3.0
4.2.1
5.1.3
2.0.0
4.0.0
9.9.0
9.26.0
2.8.4
3.3.2
Updates
@typescript-eslint/eslint-plugin
from 5.53.0 to 7.14.1Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
b4fe94f
chore(release): publish 7.14.1f29150f
fix(eslint-plugin): [prefer-nullish-coalescing] ensure ternary fix does not r...9b7731d
fix(eslint-plugin): [prefer-nullish-coalescing] treat enums and literals as t...dfc4469
chore(release): publish 7.14.0635133a
docs: split troubleshooting into granular sections (#9024)c322099
fix(eslint-plugin): [no-invalid-this] support AccessorProperty (#9411)23e6468
fix(eslint-plugin): [prefer-nullish-coalescing] handle intersected primitive ...5c4a5de
feat(ast-spec): tighter types and documentation for declaration/* (#9211)e47123d
fix(eslint-plugin): [no-extraneous-class] handle abstract members (#9367)dc18229
feat: support TypeScript 5.5 (#9397)Updates
@typescript-eslint/parser
from 5.53.0 to 7.14.1Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
b4fe94f
chore(release): publish 7.14.1dfc4469
chore(release): publish 7.14.01212a8f
chore(release): publish 7.13.18a178ed
chore(release): publish 7.13.0c9a6dd9
feat(parser, typescript-estree): export withoutProjectParserOptions utility (...7e93b28
chore(release): publish 7.12.02bbf656
fix(types): correct typing ParserOptions (#9202)e360541
chore(release): publish 7.11.0c18226e
chore(release): publish 7.10.077fc366
chore(release): publish 7.9.0Updates
eslint
from 8.34.0 to 9.5.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
5352357
9.5.0f425600
Build: changelog update for 9.5.0f588160
chore: upgrade@eslint/js
@9
.5.0 (#18591)5890841
chore: package.json update for@eslint/js
release455f7fd
docs: add section about including.gitignore
files (#18590)e9f4ccd
chore: remove unused eslint-disable directive (#18589)721eafe
docs: update info about universalfiles
patterns (#18587)4b23ffd
refactor: Move JS parsing logic into JS language (#18448)6880286
fix: treat*
as a universal pattern (#18586)8127127
docs: Update READMEUpdates
eslint-config-prettier
from 8.6.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 rules4c876b9
Move rules deprecated in ESLint 8.53.0 to the deprecated section24445c0
Use specialRule constant7827196
Group deprecated and removed rules by version48f804c
Roll back to ESLint 8.52.0 for now16f03b8
Update Prettierb06d618
Update npm packages25fc427
turn offunicorn/template-indent
(#269)Updates
eslint-plugin-cypress
from 2.12.1 to 3.3.0Release notes
Sourced from eslint-plugin-cypress's releases.
... (truncated)
Commits
0e835e9
Merge pull request #212 from MikeMcC399/add/flat-config0e434c7
feat: add flat configurations55fa0dd
Merge pull request #213 from MikeMcC399/update/eslint-depse6edf33
chore(deps): update eslint to 9.3.0 with plugin updatesc5b206b
Merge pull request #211 from MikeMcC399/property-orderingf53f7df
test: fix test property ordering0a70707
test: add ordering rulesa109c4a
Merge pull request #210 from MikeMcC399/update/eslint-to-93ad2854
chore(deps): update eslint to 9.2.0aa5ce37
Merge pull request #207 from MikeMcC399/migrate/ruletester-v9Updates
eslint-plugin-prettier
from 4.2.1 to 5.1.3Release notes
Sourced from eslint-plugin-prettier's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-prettier's changelog.
... (truncated)
Commits
248cd17
chore: release eslint-plugin-prettier (#636)985b33c
chore: addpackage.json
intoexports
map (#629)f985718
ci: enableNPM_TOKEN
for releasing automatically (#631)fa1e1e5
chore: add more ignoring file patterns on formatting (#627)0ea812c
test: enable testing on.svelte
files (#628)188487b
chore: add more related funding linksd102278
chore: release eslint-plugin-prettier (#624)b02fe90
chore: bump all upgradable (dev)Dependencies (#625)2b09e7f
feat: support parsingmarkdown
viaeslint-mdx
natively (#621)5f762df
docs: change open collective funding info (#626)Updates
eslint-plugin-unused-imports
from 2.0.0 to 4.0.0Commits
Updates
eslint-plugin-vue
from 9.9.0 to 9.26.0Release notes
Sourced from eslint-plugin-vue's releases.