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.
#1371f3378be Thanks @iiroj! - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag --no-hide-partially-staged that is automatically enabled when --no-stash is used.
#1368777d4e9 Thanks @iiroj! - To improve performance, only use lilconfig when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.
#137385eb0dd Thanks @iiroj! - When determining git directory, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.
#1371f3378be Thanks @iiroj! - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag --no-hide-partially-staged that is automatically enabled when --no-stash is used.
#1368777d4e9 Thanks @iiroj! - To improve performance, only use lilconfig when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.
#137385eb0dd Thanks @iiroj! - When determining git directory, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.
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)
Bumps the npm-low-risk group with 28 updates:
6.9.1
6.15.0
6.9.1
6.15.0
8.49.0
8.56.0
9.0.0
9.1.0
15.1.0
15.2.0
3.0.3
3.1.1
5.2.2
5.3.3
4.3.9
4.3.11
4.17.17
4.17.21
20.8.10
20.10.5
10.9.1
10.9.2
4.12.0
4.16.0
4.1.16
4.1.21
5.1.0
5.1.1
3.0.0
3.0.2
8.8.2
8.27.0
7.22.17
7.23.6
7.22.15
7.23.6
7.22.15
7.23.3
7.22.15
7.23.3
0.3.5
0.3.7
0.6.7
0.8.0
29.6.4
29.7.0
29.6.4
29.7.0
2.1.2
2.1.4
8.3.1
8.3.2
1.37.1
1.40.1
10.3.4
10.3.10
Updates
@typescript-eslint/eslint-plugin
from 6.9.1 to 6.15.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
6128a02
chore: publish v6.15.0f5e712b
docs(eslint-plugin): [require-array-sort-compare] generalize sort method name...e6d49e4
docs(eslint-plugin): [require-array-sort-compare] sync rule description (#8061)ff75785
feat(eslint-plugin): [no-useless-template-literals] add new rule (#7957)c9661c8
feat: require-array-sort-compare + toSorted (#8052)7ec3022
test(eslint-plugin): includedisable-type-checked.ts
config in configs test...3175843
docs(eslint-plugin): simplify a sentence in no-misused-promises.md (#8050)c7d702f
chore: publish v6.14.0431cd15
fix(eslint-plugin): add no-unsafe-unary-minus, prefer-destructuring to disabl...705370a
fix(eslint-plugin): correct message forno-unsafe-unary-minus
(#7998)Updates
@typescript-eslint/parser
from 6.9.1 to 6.15.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
6128a02
chore: publish v6.15.0c7d702f
chore: publish v6.14.0cc2c6d3
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.0Updates
eslint
from 8.49.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
lint-staged
from 15.1.0 to 15.2.0Release notes
Sourced from lint-staged's releases.
Changelog
Sourced from lint-staged's changelog.
Commits
adf50b0
chore(changeset): release85eb0dd
fix: when determining git directory, usefs.realpath()
only for symlinks82eded4
refactor: use commander implies() syntax for flagf3378be
feat:--no-stash
flag implies--no-hide-partially-staged
f4f61f3
docs: add workaround for verbose Windows output to README FAQ17bc480
chore(deps): update lilconfig@3.0.0eccda41
style: remove Babel from ESLint077e6bc
test: run Jest tests in native ESM mode8db4a15
refactor: move config file name constants to separate file78a0c23
test: add missing test coverageUpdates
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)Updates
typescript
from 5.2.2 to 5.3.3Release notes
Sourced from typescript's releases.