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.
#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.
Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.
├─ .prettierrc
└─ test.js (A directory)
└─ .prettierrc
Skip explicitly passed symbolic links with --no-error-on-unmatched-pattern (#15533 by @sanmai-NL)
Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.
In Prettier 3.1.1, you can use --no-error-on-unmatched-pattern to simply skip symbolic links.
Consistently use tabs in ternaries when useTabs is true (#15662 by @auvred)
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 safe-dependencies group with 5 updates:
8.52.0
8.56.0
9.0.0
9.1.0
5.0.1
5.1.2
1.1.2
1.1.3
3.0.3
3.1.1
Updates
eslint
from 8.52.0 to 8.56.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
8e8e9f8
8.56.0085978b
Build: changelog update for 8.56.0ba6af85
chore: upgrade@eslint/js
@8
.56.0 (#17864)60a531a
chore: package.json update for@eslint/js
release0dd9704
feat: Support custom severity when reporting unused disable directives (#17212)31a7e3f
feat: fix no-restricted-properties false negatives with unknown objects (#17818)ba87a06
chore: update dependency markdownlint to ^0.32.0 (#17783)7d5e5f6
fix:TypeError: fs.exists is not a function
on read-only file system (#17846)9271d10
chore: add GitHub issue template for docs issues (#17845)70a686b
chore: Convert rule tests to FlatRuleTester (#17819)Updates
eslint-config-prettier
from 9.0.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-prettier
from 5.0.1 to 5.1.2Release notes
Sourced from eslint-plugin-prettier's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-prettier's changelog.
... (truncated)
Commits
d102278
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)8210e44
fix: add package.json exports field (#623)5a51733
chore: release eslint-plugin-prettier (#620)b5c0dc5
chore: skip formatting inline scripts in pug files (#619)183f45c
chore: release eslint-plugin-prettier (#604)3856413
Add flat recommended config (#616)78c8b80
Use flat config for the project's eslint configuration (#615)Updates
ky
from 1.1.2 to 1.1.3Release notes
Sourced from ky's releases.
Commits
d7b0abc
1.1.316eb51d
Export theKyInstance
typeUpdates
prettier
from 3.0.3 to 3.1.1Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
b86701d
Release 3.1.1c97480c
Useattributes
instead of deprecatedassertions
(#15758)0d1ffb3
Consistently use tabs in ternaries whenuseTabs
istrue
(#15662)5f7aedc
fix example to fit the actual experimentalTernaries behaviour (#15747)1e30f66
Remove claim, untrue since over 5 years ago, that cursorOffset is incompatibl...39e4e7b
Add cursorOffset to Playground (#15751)8e816ad
Allow skipping symlink patterns, to avoid raising a fault (#15533)2ca5d75
Fix expect call in dts test (#15766)15c7428
chore(deps): update dependency flow-parser to v0.223.3 (#15760)d3b3d4f
chore(deps): update dependency hermes-parser to v0.18.0 (#15761)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