-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4517b30
commit 60062dc
Showing
5 changed files
with
105 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
tests/__snapshots__/problems-esm-react-eslint8.x-javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"configContent": "import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
|
||
|
||
export default [ | ||
{languageOptions: { globals: globals.browser }}, | ||
pluginJs.configs.recommended, | ||
pluginReactConfig, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint@8.x", | ||
"globals", | ||
"@eslint/js", | ||
"eslint-plugin-react", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
25 changes: 25 additions & 0 deletions
25
tests/__snapshots__/problems-esm-react-eslint8.x-typescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"configContent": "import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
|
||
|
||
export default [ | ||
{languageOptions: { globals: globals.browser }}, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
pluginReactConfig, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint@8.x", | ||
"globals", | ||
"@eslint/js", | ||
"typescript-eslint", | ||
"eslint-plugin-react", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
25 changes: 25 additions & 0 deletions
25
tests/__snapshots__/problems-esm-react-eslint9.x-javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"configContent": "import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
import { fixupConfigRules } from "@eslint/compat"; | ||
|
||
|
||
export default [ | ||
{languageOptions: { globals: globals.browser }}, | ||
pluginJs.configs.recommended, | ||
...fixupConfigRules(pluginReactConfig), | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint@9.x", | ||
"globals", | ||
"@eslint/js", | ||
"eslint-plugin-react", | ||
"@eslint/compat", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
"--force", | ||
], | ||
} |
28 changes: 28 additions & 0 deletions
28
tests/__snapshots__/problems-esm-react-eslint9.x-typescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"configContent": "import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
import { fixupConfigRules } from "@eslint/compat"; | ||
|
||
|
||
export default [ | ||
{languageOptions: { globals: globals.browser }}, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...fixupConfigRules(pluginReactConfig), | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint@9.x", | ||
"globals", | ||
"@eslint/js", | ||
"typescript-eslint", | ||
"eslint-plugin-react", | ||
"@eslint/compat", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
"--force", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters