@html-validate/eslint-config 9.2.14 → 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/dist/cli.mjs +2 -1
- package/dist/cli.mjs.map +2 -2
- package/index.mjs +4 -1
- package/package.json +3 -2
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": "
|
|
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.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -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": "
|
|
68
|
+
"gitHead": "86fdb44239e36df156819c1acb53e2e24da74a4a"
|
|
68
69
|
}
|