eslint-config-jc 2.3.2 → 2.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-jc",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Josh-Cena's personal coding style",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -35,13 +35,13 @@
35
35
  "eslint-config-prettier": "^8.5.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@typescript-eslint/eslint-plugin": "^5.28.0",
39
- "@typescript-eslint/parser": "^5.28.0",
40
- "eslint": "^8.17.0",
38
+ "@typescript-eslint/eslint-plugin": "^5.32.0",
39
+ "@typescript-eslint/parser": "^5.32.0",
40
+ "eslint": "^8.21.0",
41
41
  "eslint-plugin-header": "^3.1.1",
42
42
  "eslint-plugin-import": "^2.26.0",
43
- "eslint-plugin-jsx-a11y": "^6.5.1",
44
- "eslint-plugin-react": "^7.30.0",
43
+ "eslint-plugin-jsx-a11y": "^6.6.1",
44
+ "eslint-plugin-react": "^7.30.1",
45
45
  "eslint-plugin-react-hooks": "^4.6.0"
46
46
  },
47
47
  "peerDependenciesMeta": {
package/rules/base.js CHANGED
@@ -168,8 +168,9 @@ module.exports = {
168
168
 
169
169
  "no-cond-assign": ["error", "always"],
170
170
 
171
- // Fixable, so better report this. Prettier doesn't fix it all the time
172
- "no-confusing-arrow": "error",
171
+ // This conflicts with Prettier, and syntax highlighting should be
172
+ // sufficient to catch this
173
+ "no-confusing-arrow": "off",
173
174
 
174
175
  // In projects with a wrapped logger, this can be enabled
175
176
  "no-console": 0,
@@ -529,7 +530,7 @@ module.exports = {
529
530
 
530
531
  "no-var": "error",
531
532
 
532
- "no-void": "error",
533
+ "no-void": ["error", { allowAsStatement: true }],
533
534
 
534
535
  "no-warning-comments": "off",
535
536
 
package/rules/jsx.js CHANGED
@@ -216,7 +216,7 @@ module.exports = {
216
216
 
217
217
  "react/jsx-max-depth": "off",
218
218
 
219
- "react/jsx-no-bind": ["error", { ignoreDOMComponents: true }],
219
+ "react/jsx-no-bind": ["warn", { ignoreDOMComponents: true }],
220
220
 
221
221
  "react/jsx-no-comment-textnodes": "error",
222
222