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)
Increase the minimum required versions of stylelintand node. Stylelint v16
has converted its codebase to esm and has deprecated its commonjs apis. We've followed their suggested migration guide and stylelint-prettier is now an esm-only package. This has required dropping support for v15 at the same time.
Minimum stylelint version is now v16 (drop support for v15.x)
Minimum node requirements is now >=18.12.0 (drop support for v14.x and v16.x)
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 npm-dependencies group with 8 updates:
6.0.1
6.0.2
8.55.0
8.56.0
10.1.0
11.0.0
3.1.0
3.1.1
4.6.1
4.9.1
15.11.0
16.0.2
6.0.3
6.0.4
4.1.0
5.0.0
Updates
cssnano
from 6.0.1 to 6.0.2Release notes
Sourced from cssnano's releases.
Commits
36db5fd
Publish cssnano 6.0.2b007a7c
chore: regenerate types1c90b93
chore: update PostCSS dev dependency6136628
chore: reformat after updating Prettier66ef36e
chore: update all dev dependencies to latest76c9699
chore: update CI config (#1524)e24cbee
deps: update to svgo v3.0.5 and update docs (#1533)8eb75bf
test: fix api options for node v20.10.08511e5d
chore(deps-dev): bump postcss from 8.4.24 to 8.4.31 (#1525)c9d221e
fix(postcss-convert-values): keep % unit in@property
(#1531)Updates
eslint
from 8.55.0 to 8.56.0Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
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
postcss-cli
from 10.1.0 to 11.0.0Changelog
Sourced from postcss-cli's changelog.
Commits
ac801f1
11.0.0e235bfd
Update dependency postcss-load-config to v5 (#462)91ad9e4
Update dependency globby to v14 (#459)ba1866d
Update dependency eslint-config-problems to v8 (#451)5f728e5
BREAKING: Require Node.js v18+ (#464)3b47a48
Update dependency prettier to ~3.1.0 (#460)922c022
Update actions/setup-node action to v4 (#458)c41052a
Update actions/checkout action to v4 (#456)d8b2e2a
Update dependency prettier to v3 (#454)c3f9c3f
Update dependency c8 to v8 (#453)Updates
prettier
from 3.1.0 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)Updates
rollup
from 4.6.1 to 4.9.1Release notes
Sourced from rollup's releases.
... (truncated)
Changelog
Sourced from rollup's changelog.
... (truncated)
Commits
d56ac63
4.9.10574563
fix: use a new includedLabels in the body of the LabeledStatement (#5297)4081802
chore(deps): lock file maintenance minor/patch updates (#5300)c5337ef
4.9.044889e0
Fully support arbitrary module namespace identifiers for all formats (#5298)7f9d85c
Do not assume setTimeout return type (#5296)62b648e
4.8.03a2b583
Find more merge targets for experimentalMinChunkSize (#5294)098e29c
4.7.06a471e3
chore(deps): lock file maintenance minor/patch updates (#5290)Updates
stylelint
from 15.11.0 to 16.0.2Release notes
Sourced from stylelint's releases.
... (truncated)
Changelog
Sourced from stylelint's changelog.
Commits
da7ce21
16.0.2303b3c9
Prepare 16.0.2 (#7386)fbc6adf
Bump rollup from 4.6.1 to 4.8.0 (#7394)d4b12aa
Bump np from 8.0.4 to 9.2.0 (#7391)0ec3df4
Bump the typescript group with 1 update (#7390)203276e
Bump the jest group with 1 update (#7389)dde101d
FixERR_UNSUPPORTED_ESM_URL_SCHEME
error on Windows (#7383)2a82f4d
Document node:test testRule (#7381)bc9225e
16.0.1d5f9d19
Prepare 16.0.1 (#7379)Updates
stylelint-order
from 6.0.3 to 6.0.4Release notes
Sourced from stylelint-order's releases.
Changelog
Sourced from stylelint-order's changelog.
Commits
0e3325b
6.0.4e00347f
Fix segmentation fault issue with Jest on Node.js 18a2724fc
Remove Node.js 16 from CI1cc4616
Prepare 6.0.46c97de5
Add support for Stylelint v169a7b562
Update dependenciesa2f5c46
Update dependenciesUpdates
stylelint-prettier
from 4.1.0 to 5.0.0Changelog
Sourced from stylelint-prettier's changelog.
Commits
b78aa96
v5.0.0e26c5fd
v5.0.0 changelog32360e6
readme updatefbd64d5
Merge pull request #346 from prettier/v5d81ff2d
Update eslint-plugin-n and strip-ansi9f52921
Replace jest with the node built-in test runner35ac519
Updates to support stylelint v163793625
Extract ruleFunction and apply rulename and messages to that71dbdcf
Move stylelint-prettier.js to index.js5aa6c2f
Bump the dev-dependencies group with 11 updates (#344)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