eslint-config-arklint 1.7.1 → 1.9.0

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.
@@ -6,10 +6,12 @@ module.exports = {
6
6
  "plugin:jsdoc/recommended"
7
7
  ],
8
8
  rules: {
9
+ "jsdoc/require-template": "warn",
10
+ "jsdoc/check-template-names": "warn",
9
11
  "jsdoc/require-returns": "off",
10
12
  "jsdoc/require-jsdoc": "off",
11
13
  "jsdoc/check-param-names": "warn",
12
- "jsdoc/check-indentation": "warn",
14
+ "jsdoc/check-indentation": ["warn", { excludeTags: ["import", "example"] }],
13
15
  "jsdoc/no-bad-blocks": "warn",
14
16
  "jsdoc/tag-lines": ["warn", "never"],
15
17
  "jsdoc/no-defaults": "off",
@@ -19,9 +19,6 @@ module.exports = {
19
19
  "plugin:react/jsx-runtime"
20
20
  ],
21
21
  rules: {
22
- "react/display-name": "warn",
23
- "react/jsx-boolean-value": ["warn", "never"],
24
- "react/jsx-closing-bracket-location": "warn",
25
22
  "jsx-a11y/alt-text": "warn",
26
23
  "jsx-a11y/anchor-has-content": "warn",
27
24
  "jsx-a11y/anchor-is-valid": ["warn", {
@@ -41,6 +38,7 @@ module.exports = {
41
38
  "jsx-a11y/role-has-required-aria-props": "warn",
42
39
  "jsx-a11y/role-supports-aria-props": "warn",
43
40
  "jsx-a11y/scope": "warn",
41
+ "react/display-name": "warn",
44
42
  "react-hooks/exhaustive-deps": "warn",
45
43
  "react-hooks/rules-of-hooks": "error",
46
44
  "react/jsx-curly-brace-presence": "warn",
@@ -61,7 +59,10 @@ module.exports = {
61
59
  }],
62
60
  "react/jsx-uses-react": "warn",
63
61
  "react/jsx-uses-vars": "warn",
62
+ "react/jsx-boolean-value": ["warn", "never"],
63
+ "react/jsx-closing-bracket-location": "warn",
64
64
  "react/jsx-wrap-multilines": "warn",
65
+ "react/jsx-props-no-spread-multi": "warn",
65
66
  "react/no-danger-with-children": "warn",
66
67
  "react/no-direct-mutation-state": "warn",
67
68
  "react/no-is-mounted": "warn",
package/index.js CHANGED
@@ -87,7 +87,6 @@ module.exports = {
87
87
  "no-sparse-arrays": "warn",
88
88
  "no-template-curly-in-string": "warn",
89
89
  "no-this-before-super": "warn",
90
- "no-throw-literal": "warn",
91
90
  "no-undef": "error",
92
91
  "no-unreachable": "warn",
93
92
  "no-unsafe-negation": "warn",
@@ -97,10 +96,7 @@ module.exports = {
97
96
  allowTaggedTemplates: true
98
97
  }],
99
98
  "no-unused-labels": "warn",
100
- "no-unused-vars": ["warn", {
101
- args: "none",
102
- ignoreRestSiblings: true
103
- }],
99
+ "no-unused-vars": "warn",
104
100
  "no-use-before-define": ["warn", {
105
101
  functions: false,
106
102
  classes: false,
@@ -110,11 +106,7 @@ module.exports = {
110
106
  "no-useless-computed-key": "warn",
111
107
  "no-useless-concat": "warn",
112
108
  "no-useless-constructor": "warn",
113
- "no-useless-rename": ["warn", {
114
- ignoreDestructuring: false,
115
- ignoreImport: false,
116
- ignoreExport: false
117
- }],
109
+ "no-useless-rename": "warn",
118
110
  "no-var": "warn",
119
111
  "no-whitespace-before-property": "warn",
120
112
  "no-with": "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-arklint",
3
- "version": "1.7.1",
3
+ "version": "1.9.0",
4
4
  "author": "Arkellys",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -16,9 +16,9 @@
16
16
  "@rushstack/eslint-patch": "^1.10.3",
17
17
  "confusing-browser-globals": "^1.0.11",
18
18
  "eslint-plugin-import": "^2.29.1",
19
- "eslint-plugin-jsdoc": "^48.2.7",
20
- "eslint-plugin-jsx-a11y": "^6.8.0",
21
- "eslint-plugin-react": "^7.34.2",
19
+ "eslint-plugin-jsdoc": "^48.8.1",
20
+ "eslint-plugin-jsx-a11y": "^6.9.0",
21
+ "eslint-plugin-react": "^7.35.0",
22
22
  "eslint-plugin-react-hooks": "^4.6.2",
23
23
  "eslint-plugin-sort-imports-es6-autofix": "^0.6.0"
24
24
  },