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!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the major-dependencies group with 4 updates: eslint-config-prettier, eslint-plugin-prettier, ky and prettier.
Updates
eslint-config-prettier
from 8.8.0 to 9.0.0Changelog
Sourced from eslint-config-prettier's changelog.
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-prettier
from 4.2.1 to 5.0.0Release notes
Sourced from eslint-plugin-prettier's releases.
Changelog
Sourced from eslint-plugin-prettier's changelog.
Commits
b2b93c3
chore: release eslint-plugin-prettier (#569)370e88f
chore: bump deps, use pnpm instead (#568)6878434
chore: release eslint-plugin-prettier (alpha) (#566)ae7a73c
fix: compatibility with prettier@3 without plugins (#564)00449df
chore: release eslint-plugin-prettier (alpha) (#553)82a3db8
fix: add missing dependencysynckit
(#548)ba490d7
chore: add missing worker.js into files477f890
chore: release eslint-plugin-prettier v5.0.0-alpha.0 (#517)910aeb6
feat!: bump eslint, node and prettier versions, add types support (#508)21d87ab
ci use pull_request_target event insteadUpdates
ky
from 0.33.3 to 1.0.1Release notes
Sourced from ky's releases.
Commits
d2dc951
1.0.14d63a21
ChangeOptions
andNormalizedOptions
types back to beinterface
60e4f67
1.0.0a8a3a26
Require Node.js 18356d61c
Update dev dependecies780e032
Fix placeholder URL (#506)Updates
prettier
from 2.8.8 to 3.0.3Release notes
Sourced from prettier's releases.
... (truncated)
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
d5f3171
Release 3.0.3a35008f
Support shared config that forbidsrequire()
(#15233)1ce97d1
Support TypeScript 5.2using
/await using
declaration (#15321)a73cfa0
Fix build script--report
option (#15323)941c6b3
Minor refactor togetSupportedFilesGlob
(#15319)f6c9e9b
Assert uniqueness in language properties (#15320)288ea7e
chore(deps): update dependency webpack to v5.88.2 (#15147)6654451
chore(deps): update dependency webpack to v5.88.2 (#15148)d059644
chore(deps): update dependency fast-glob to v3.3.1 (#15001)423011d
Minor refactor toexpandPatterns
(#15317)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show