Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock = false
legacy-peer-deps = true # TODO: Remove this line after ESLint v10 is released.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@
],
"license": "Apache-2.0",
"dependencies": {
"@eslint/core": "^0.17.0",
"@eslint/core": "^1.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a dependency, will this affect end users who are still using ESLint v9?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next release will be a major one, so I think it's okay.

"@eslint/plugin-kit": "^0.5.0",
"@humanwhocodes/momoa": "^3.3.10",
"natural-compare": "^1.4.0"
},
"devDependencies": {
"c8": "^10.1.3",
"dedent": "^1.5.3",
"eslint": "^9.36.0",
"eslint": ">=10.0.0-alpha.0 <10.0.0 || ^10.0.1",
"eslint-config-eslint": "^13.0.0",
"eslint-plugin-eslint-plugin": "^6.3.2",
"globals": "^16.5.0",
Expand Down
5 changes: 0 additions & 5 deletions tests/rules/sort-keys.test.js
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From ESLint v10, errors property in valid test case throws error, so I've removed it.

Ref: https://eslint.org/docs/next/use/migrate-to-10.0.0#stricter-rule-tester

Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ ruleTester.run("sort-keys", rule, {
`,
language: "json/json5",
options: [],
errors: [
{
messageId: "sortKeys",
},
],
},

// asc
Expand Down