Add eslint-plugin-react-refresh to react config #138
Annotations
4 errors
Test ESLint Config:
packages/eslint-config/test/snapshot.test.ts#L55
Error: Snapshot `Test ESLint config with snapshot > react preset > matches snapshot 1` mismatched
- Expected
+ Received
@@ -1154,10 +1154,11 @@
"perfectionist:perfectionist",
"@typescript-eslint:@typescript-eslint/[email protected]",
"@stylistic/ts",
"react",
"react-hooks",
+ "react-refresh",
"jsx-a11y:[email protected]",
],
"processor": undefined,
"rules": {
"@babel/object-curly-spacing": [
@@ -2138,10 +2139,13 @@
"react-hooks/exhaustive-deps": [
1,
],
"react-hooks/rules-of-hooks": [
2,
+ ],
+ "react-refresh/only-export-components": [
+ 1,
],
"react/button-has-type": [
2,
],
"react/display-name": [
❯ test/snapshot.test.ts:55:22
|
Test ESLint Config
Process completed with exit code 1.
|
Mark as failure if any Error
Snapshot test failed.
|
Mark as failure if any Error
Process completed with exit code 1.
|
Loading