@open-turo/eslint-config-react 7.0.13 → 7.0.14

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 CHANGED
@@ -53,6 +53,12 @@ module.exports = {
53
53
  "react/state-in-constructor": "off",
54
54
  // This allows static properties to be placed within the class declaration
55
55
  "react/static-property-placement": "off",
56
+ // Already covered with react/no-array-index-key
57
+ "sonarjs/no-array-index-key": "off",
58
+ // Already covered with react/no-unknown-property
59
+ "sonarjs/no-unknown-property": "off",
60
+ "sonarjs/jsx-no-useless-fragment": "off",
61
+ "sonarjs/no-unstable-nested-components": "off",
56
62
  // Allow file names to match a component name
57
63
  "unicorn/filename-case": "off",
58
64
  },
package/legacy.js CHANGED
@@ -50,6 +50,12 @@ module.exports = {
50
50
  "react/state-in-constructor": "off",
51
51
  // This allows static properties to be placed within the class declaration
52
52
  "react/static-property-placement": "off",
53
+ // Already covered with react/no-array-index-key
54
+ "sonarjs/no-array-index-key": "off",
55
+ // Already covered with react/no-unknown-property
56
+ "sonarjs/no-unknown-property": "off",
57
+ "sonarjs/jsx-no-useless-fragment": "off",
58
+ "sonarjs/no-unstable-nested-components": "off",
53
59
  },
54
60
  settings: {
55
61
  react: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Turo engineering",
3
3
  "description": "Turo eslint configuration for react",
4
4
  "dependencies": {
5
- "@open-turo/eslint-config-typescript": "9.0.14",
5
+ "@open-turo/eslint-config-typescript": "9.0.15",
6
6
  "eslint-plugin-jsx-a11y": "6.10.0",
7
7
  "eslint-plugin-react": "7.35.2",
8
8
  "eslint-plugin-react-hooks": "4.6.2"
@@ -31,5 +31,5 @@
31
31
  "access": "public"
32
32
  },
33
33
  "repository": "https://github.com/open-turo/eslint-config-react",
34
- "version": "7.0.13"
34
+ "version": "7.0.14"
35
35
  }