eslint-config-matsuri 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -0
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -81,6 +81,7 @@ const config = [
|
|
|
81
81
|
...globals.browser,
|
|
82
82
|
...globals.es2021,
|
|
83
83
|
React: true,
|
|
84
|
+
JSX: true,
|
|
84
85
|
},
|
|
85
86
|
parser: tsParser,
|
|
86
87
|
parserOptions: {
|
|
@@ -198,6 +199,14 @@ const config = [
|
|
|
198
199
|
],
|
|
199
200
|
},
|
|
200
201
|
},
|
|
202
|
+
{
|
|
203
|
+
files: ["**/*.test.ts", "**/*.test.tsx", "**/*.test.js", "**/*.test.jsx"],
|
|
204
|
+
languageOptions: {
|
|
205
|
+
globals: {
|
|
206
|
+
...globals.jest,
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
201
210
|
...pluginStorybookRecommended,
|
|
202
211
|
];
|
|
203
212
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-matsuri",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "index.js",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"eslint-plugin-react-refresh": "0.4.4",
|
|
40
40
|
"eslint-plugin-sort-imports-es6-autofix": "0.6.0",
|
|
41
41
|
"eslint-plugin-storybook": "0.6.15",
|
|
42
|
-
"eslint-plugin-unused-imports": "2.0.0"
|
|
42
|
+
"eslint-plugin-unused-imports": "2.0.0",
|
|
43
|
+
"globals": "13.24.0"
|
|
43
44
|
}
|
|
44
45
|
}
|