Merge pull request #37 from 43081j/upgrade-eslint #47
Annotations
36 errors
|
ESLint local on Node 20
Process completed with exit code 1.
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
ESLint 8 on Node 20
Process completed with exit code 1.
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
ESLint 8 on Node 23
Process completed with exit code 1.
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
ESLint local on Node 23
Process completed with exit code 1.
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.cjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.cjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > invalid > fixtures/hooks/invalid.js 1` mismatched
- Expected
+ Received
@@ -51,9 +51,88 @@
return <button onClick={increment}>{value}</button>;
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: hooks > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: hooks > valid > fixtures/hooks/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > invalid:
test/index.test.mjs#L60
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > invalid > fixtures/component/invalid.js 1` mismatched
- Expected
+ Received
@@ -49,9 +49,88 @@
super();
}
}
",
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 2,
},
]
❯ test/index.test.mjs:60:28
|
|
test/index.test.mjs > config: eslint.config.test.mjs > Fixture: component > valid:
test/index.test.mjs#L55
Error: Snapshot `config: eslint.config.test.mjs > Fixture: component > valid > fixtures/component/valid.js 1` mismatched
- Expected
+ Received
@@ -5,9 +5,88 @@
"filePath": "<filePath>",
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"messages": [],
"suppressedMessages": [],
- "usedDeprecatedRules": [],
+ "usedDeprecatedRules": [
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "no-mixed-spaces-and-tabs",
+ "url": "https://eslint.style/rules/no-mixed-spaces-and-tabs",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/no-mixed-spaces-and-tabs",
+ ],
+ "ruleId": "no-mixed-spaces-and-tabs",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "3.3.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "function-call-spacing",
+ "url": "https://eslint.style/rules/function-call-spacing",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",
+ },
+ "replacedBy": [
+ "@stylistic/function-call-spacing",
+ ],
+ "ruleId": "no-spaced-func",
+ },
+ {
+ "info": {
+ "availableUntil": "10.0.0",
+ "deprecatedSince": "8.53.0",
+ "message": "Formatting rules are being moved out of ESLint core.",
+ "replacedBy": [
+ {
+ "message": "ESLint Stylistic now maintains deprecated stylistic core rules.",
+ "plugin": {
+ "name": "@stylistic/eslint-plugin",
+ "url": "https://eslint.style",
+ },
+ "rule": {
+ "name": "quote-props",
+ "url": "https://eslint.style/rules/quote-props",
+ },
+ "url": "https://eslint.style/guide/migration",
+ },
+ ],
+ "url": "https://eslint.org/blog/2023/10/deprecating-formatting-rules/",
+ },
+ "replacedBy": [
+ "@stylistic/quote-props",
+ ],
+ "ruleId": "quote-props",
+ },
+ ],
"warningCount": 0,
},
]
❯ test/index.test.mjs:55:28
|