eslint-config-jc 4.2.0 → 4.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-jc",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "Josh-Cena's personal coding style",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -36,18 +36,19 @@
36
36
  "./typescript-typecheck": "./rules/typescript-typecheck.js"
37
37
  },
38
38
  "dependencies": {
39
- "eslint-config-prettier": "^9.0.0"
39
+ "eslint-config-prettier": "^9.1.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@typescript-eslint/eslint-plugin": "^6.13.1",
43
- "@typescript-eslint/parser": "^6.13.1",
44
- "eslint": "^8.54.0",
42
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
43
+ "@typescript-eslint/parser": "^7.0.1",
44
+ "eslint": "^8.56.0",
45
45
  "eslint-plugin-header": "^3.1.1",
46
- "eslint-plugin-import": "^2.29.0",
46
+ "eslint-plugin-import": "^2.29.1",
47
47
  "eslint-plugin-jsx-a11y": "^6.8.0",
48
+ "eslint-plugin-n": "^16.6.2",
48
49
  "eslint-plugin-react": "^7.33.2",
49
50
  "eslint-plugin-react-hooks": "^4.6.0",
50
- "eslint-plugin-regexp": "^2.1.1"
51
+ "eslint-plugin-regexp": "^2.2.0"
51
52
  },
52
53
  "peerDependenciesMeta": {
53
54
  "eslint-plugin-header": {
@@ -56,6 +57,9 @@
56
57
  "eslint-plugin-jsx-a11y": {
57
58
  "optional": true
58
59
  },
60
+ "eslint-plugin-n": {
61
+ "optional": true
62
+ },
59
63
  "eslint-plugin-react": {
60
64
  "optional": true
61
65
  },
package/rules/base.js CHANGED
@@ -616,7 +616,7 @@ module.exports = {
616
616
  "warn",
617
617
  {
618
618
  allow: [],
619
- builtinGlobals: true,
619
+ builtinGlobals: false,
620
620
  hoist: "all",
621
621
  ignoreOnInitialization: true,
622
622
  },
package/rules/regex.js CHANGED
@@ -25,6 +25,8 @@ module.exports = {
25
25
 
26
26
  "regexp/no-contradiction-with-assertion": "error",
27
27
 
28
+ // eslint-disable-next-line sort-keys
29
+ "no-control-regex": "off",
28
30
  "regexp/no-control-character": "error",
29
31
 
30
32
  "regexp/no-dupe-characters-character-class": "error",
@@ -152,7 +154,7 @@ module.exports = {
152
154
 
153
155
  // eslint-disable-next-line sort-keys
154
156
  "prefer-named-capture-group": "off",
155
- "regexp/prefer-named-capture-group": "error",
157
+ "regexp/prefer-named-capture-group": "warn",
156
158
 
157
159
  "regexp/prefer-named-replacement": "error",
158
160
 
@@ -240,7 +240,7 @@ module.exports = {
240
240
  "warn",
241
241
  {
242
242
  allow: [],
243
- builtinGlobals: true,
243
+ builtinGlobals: false,
244
244
  hoist: "all",
245
245
  ignoreFunctionTypeParameterNameValueShadow: false,
246
246
  ignoreOnInitialization: true,