@frontify/eslint-config-react 1.0.2 → 1.0.4
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/eslint.config.mjs +5 -0
- package/package.json +10 -10
package/eslint.config.mjs
CHANGED
|
@@ -100,4 +100,9 @@ export default tseslint.config(
|
|
|
100
100
|
'jsx-a11y-x/click-events-have-key-events': 'off',
|
|
101
101
|
},
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
// Disable type check rules for JSON and YML/YAML files
|
|
105
|
+
files: ['**/*.json', '**/*.yaml', '**/*.yml'],
|
|
106
|
+
extends: [eslintPluginReact.configs['disable-type-checked']],
|
|
107
|
+
},
|
|
103
108
|
);
|
package/package.json
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
|
+
"directory": "packages/react",
|
|
8
9
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/Frontify/eslint-config"
|
|
10
|
-
"directory": "packages/react"
|
|
10
|
+
"url": "https://github.com/Frontify/eslint-config"
|
|
11
11
|
},
|
|
12
12
|
"main": "eslint.config.mjs",
|
|
13
13
|
"files": [
|
|
14
14
|
"eslint.config.mjs"
|
|
15
15
|
],
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
},
|
|
19
16
|
"peerDependencies": {
|
|
20
17
|
"eslint": "^9.0.0",
|
|
21
18
|
"prettier": "^3.0.0",
|
|
22
19
|
"react": "^18 || ^19"
|
|
23
20
|
},
|
|
24
21
|
"dependencies": {
|
|
25
|
-
"@eslint-react/eslint-plugin": "^2.0.0-
|
|
22
|
+
"@eslint-react/eslint-plugin": "^2.0.0-next.148",
|
|
26
23
|
"eslint-plugin-jsx-a11y-x": "^0.1.1",
|
|
27
24
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
28
25
|
"globals": "^16.3.0",
|
|
29
|
-
"typescript-eslint": "^8.
|
|
30
|
-
"@frontify/eslint-config-basic": "^1.0.
|
|
26
|
+
"typescript-eslint": "^8.41.0",
|
|
27
|
+
"@frontify/eslint-config-basic": "^1.0.5"
|
|
31
28
|
},
|
|
32
29
|
"devDependencies": {
|
|
33
|
-
"eslint": "^9.
|
|
30
|
+
"eslint": "^9.34.0",
|
|
34
31
|
"prettier": "^3.6.2"
|
|
35
32
|
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"lint": "eslint ."
|
|
38
38
|
}
|