@sb1/eslint-config-ffe 8.1.3 → 8.1.5
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/package.json +37 -37
- package/rules/jsx.js +0 -4
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
2
|
+
"name": "@sb1/eslint-config-ffe",
|
|
3
|
+
"version": "8.1.5",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "SpareBank 1",
|
|
7
|
+
"files": [
|
|
8
|
+
"rules",
|
|
9
|
+
"*.js"
|
|
10
|
+
],
|
|
11
|
+
"main": "index.js",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "ssh://git@github.com:SpareBank1/designsystem.git"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"lint": "eslint ."
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@sb1/eslint-config-ffe-base": "^3.0.6"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"eslint": "^8.57.0",
|
|
24
|
+
"eslint-plugin-import": "^2.29.1",
|
|
25
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
26
|
+
"eslint-plugin-react": "^7.0.0",
|
|
27
|
+
"eslint-plugin-react-hooks": "^4.6.2"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"eslint": "*",
|
|
31
|
+
"eslint-plugin-jsx-a11y": "*",
|
|
32
|
+
"eslint-plugin-react": "*",
|
|
33
|
+
"eslint-plugin-react-hooks": "*"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"gitHead": "04c486e446179c6a1a8ca15a015c4c3e008ce6d5"
|
|
39
39
|
}
|
package/rules/jsx.js
CHANGED
|
@@ -84,10 +84,6 @@ module.exports = {
|
|
|
84
84
|
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/self-closing-comp.md
|
|
85
85
|
'react/self-closing-comp': [2],
|
|
86
86
|
|
|
87
|
-
// Prevent missing props validation in a React component definition
|
|
88
|
-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
|
|
89
|
-
'react/prop-types': [2],
|
|
90
|
-
|
|
91
87
|
// Prevent breaking rules of hooks
|
|
92
88
|
// https://reactjs.org/docs/hooks-rules.html
|
|
93
89
|
'react-hooks/rules-of-hooks': 'error',
|