@frontify/eslint-config-react 0.15.2 → 0.15.3

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/index.js +14 -12
  2. package/package.json +14 -10
package/index.js CHANGED
@@ -1,14 +1,16 @@
1
+ /* (c) Copyright Frontify Ltd., all rights reserved. */
2
+
1
3
  module.exports = {
2
- extends: [
3
- "plugin:react/recommended",
4
- "plugin:react-hooks/recommended",
5
- "prettier",
6
- "@frontify/eslint-config-typescript",
7
- ],
8
- rules: {
9
- "jsx-quotes": ["error", "prefer-double"],
10
- "react/prop-types": "off",
11
- "react/jsx-uses-react": "off", // React >=17 doesn't needed it anymore
12
- "react/react-in-jsx-scope": "off", // React >=17 doesn't needed it anymore
13
- },
4
+ extends: [
5
+ 'plugin:react/recommended',
6
+ 'plugin:react-hooks/recommended',
7
+ 'prettier',
8
+ '@frontify/eslint-config-typescript',
9
+ ],
10
+ rules: {
11
+ 'jsx-quotes': ['error', 'prefer-double'],
12
+ 'react/prop-types': 'off',
13
+ 'react/jsx-uses-react': 'off', // React >=17 doesn't needed it anymore
14
+ 'react/react-in-jsx-scope': 'off', // React >=17 doesn't needed it anymore
15
+ },
14
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/eslint-config-react",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "main": "index.js",
5
5
  "author": "Frontify Developers <developers@frontify.com>",
6
6
  "license": "MIT",
@@ -9,23 +9,27 @@
9
9
  "url": "https://github.com/Frontify/eslint-config",
10
10
  "directory": "packages/react"
11
11
  },
12
- "scripts": {
13
- "lint": "eslint . --config=index.js"
14
- },
15
12
  "files": [
16
13
  "index.js"
17
14
  ],
18
15
  "peerDependencies": {
19
- "eslint": ">=8.5.0",
16
+ "eslint": ">=8.27.0",
17
+ "prettier": ">=2.7.0",
20
18
  "react": ">=17.0.0"
21
19
  },
20
+ "devDependencies": {
21
+ "eslint": "8.27.0",
22
+ "prettier": "2.7.1"
23
+ },
22
24
  "publishConfig": {
23
25
  "access": "public"
24
26
  },
25
27
  "dependencies": {
26
- "@frontify/eslint-config-typescript": "^0.15.2",
27
- "eslint-plugin-react": "^7.27.1",
28
- "eslint-plugin-react-hooks": "^4.3.0"
28
+ "@frontify/eslint-config-typescript": "^0.15.3",
29
+ "eslint-plugin-react": "^7.31.10",
30
+ "eslint-plugin-react-hooks": "^4.6.0"
29
31
  },
30
- "gitHead": "c270504937b67f1a34dcf3616341f2c0868aa2e5"
31
- }
32
+ "scripts": {
33
+ "lint": "eslint . --config=index.js"
34
+ }
35
+ }