@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.
Files changed (2) hide show
  1. package/package.json +37 -37
  2. package/rules/jsx.js +0 -4
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
1
  {
2
- "name": "@sb1/eslint-config-ffe",
3
- "version": "8.1.3",
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.4"
21
- },
22
- "devDependencies": {
23
- "eslint": "^5.9.0",
24
- "eslint-plugin-import": "^2.20.1",
25
- "eslint-plugin-jsx-a11y": "^6.0.3",
26
- "eslint-plugin-react": "^7.0.0",
27
- "eslint-plugin-react-hooks": "^2.0.1"
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": "2bbaa979bf25dc291f521354217b28b17c04a270"
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',