@html-validate/eslint-config 9.2.13 → 9.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/index.mjs CHANGED
@@ -6,6 +6,7 @@ import eslintPluginArrayFunc from "eslint-plugin-array-func";
6
6
  import { createNodeResolver, importX } from "eslint-plugin-import-x";
7
7
  import eslintPluginN from "eslint-plugin-n";
8
8
  import eslintPluginPrettier from "eslint-plugin-prettier";
9
+ import eslintPluginRegexp from "eslint-plugin-regexp";
9
10
  import eslintPluginSecurity from "eslint-plugin-security";
10
11
  import eslintPluginSonarjs from "eslint-plugin-sonarjs";
11
12
  import eslintPluginUnicorn from "eslint-plugin-unicorn";
@@ -53,6 +54,7 @@ export default [
53
54
  "import-x": importX,
54
55
  n: eslintPluginN,
55
56
  "array-func": eslintPluginArrayFunc,
57
+ regexp: eslintPluginRegexp,
56
58
  security: eslintPluginSecurity,
57
59
  sonarjs: eslintPluginSonarjs,
58
60
  unicorn: eslintPluginUnicorn,
@@ -88,12 +90,13 @@ export default [
88
90
  ...importX.flatConfigs.errors.rules,
89
91
  ...eslintPluginN.configs["recommended-module"].rules,
90
92
  ...eslintPluginArrayFunc.configs.recommended.rules,
93
+ ...eslintPluginRegexp.configs.recommended.rules, // eslint-disable-line import-x/no-named-as-default-member -- to match other plugins here
91
94
  ...eslintPluginSecurity.configs.recommended.rules,
92
95
  ...eslintPluginSonarjs.configs.recommended.rules,
93
96
 
94
97
  /* enable eslint-plugin-unicorn */
95
98
  ...eslintPluginUnicorn.configs.recommended.rules,
96
- "unicorn/better-regex": "error",
99
+ "unicorn/better-regex": "off",
97
100
  "unicorn/catch-error-name": "off",
98
101
  "unicorn/consistent-assert": "off",
99
102
  "unicorn/consistent-date-clone": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config",
3
- "version": "9.2.13",
3
+ "version": "9.3.0",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint"
@@ -39,7 +39,7 @@
39
39
  "@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
40
40
  "@eslint/js": "10.0.1",
41
41
  "argparse": "2.0.1",
42
- "eslint": "10.4.1",
42
+ "eslint": "10.5.0",
43
43
  "eslint-config-prettier": "10.1.8",
44
44
  "eslint-formatter-gitlab": "7.1.0",
45
45
  "eslint-import-resolver-typescript": "4.4.5",
@@ -47,6 +47,7 @@
47
47
  "eslint-plugin-import-x": "4.16.2",
48
48
  "eslint-plugin-n": "18.1.0",
49
49
  "eslint-plugin-prettier": "5.5.6",
50
+ "eslint-plugin-regexp": "3.1.0",
50
51
  "eslint-plugin-security": "4.0.1",
51
52
  "eslint-plugin-sonarjs": "4.0.3",
52
53
  "eslint-plugin-unicorn": "64.0.0",
@@ -64,5 +65,5 @@
64
65
  "publishConfig": {
65
66
  "access": "public"
66
67
  },
67
- "gitHead": "06ee2b70dd8b15d7e160d1995620f75da9772fe1"
68
+ "gitHead": "86fdb44239e36df156819c1acb53e2e24da74a4a"
68
69
  }