Skip to content

Commit 6af60f3

Browse files
Update eslint (major) (#596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Shinigami92 <[email protected]>
1 parent b81025b commit 6af60f3

File tree

3 files changed

+33
-43
lines changed

3 files changed

+33
-43
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
"eslint-config-prettier": "10.1.8",
7777
"eslint-gitignore": "0.1.0",
7878
"eslint-plugin-inclusive-language": "2.2.1",
79-
"eslint-plugin-jsdoc": "50.8.0",
79+
"eslint-plugin-jsdoc": "52.0.4",
8080
"eslint-plugin-prettier": "5.5.4",
8181
"eslint-plugin-spellcheck": "0.0.20",
82-
"eslint-plugin-unicorn": "59.0.1",
82+
"eslint-plugin-unicorn": "60.0.0",
8383
"jiti": "2.5.1",
8484
"npm-run-all2": "8.0.4",
8585
"prettier": "3.6.2",

pnpm-lock.yaml

Lines changed: 30 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/options/attribute-sorting/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function compareAttributeToken(
2525
): CompareResult {
2626
const sortPatternsBeginning: RegExp[] = sortAttributesBeginning
2727
.map((sort) => new RegExp(sort))
28-
.reverse();
28+
.toReversed();
2929
const sortPatternsEnd: RegExp[] = sortAttributesEnd.map(
3030
(sort) => new RegExp(sort),
3131
);

0 commit comments

Comments
 (0)