@nice-move/eslint-config-base 0.11.22 → 0.11.24

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.cjs CHANGED
@@ -23,6 +23,7 @@ function BestShot() {
23
23
  module.exports = {
24
24
  noInlineConfig: false,
25
25
  reportUnusedDisableDirectives: true,
26
+ plugins: ['regexp'],
26
27
  extends: [
27
28
  'eslint:recommended',
28
29
  'airbnb-base',
@@ -39,6 +40,7 @@ module.exports = {
39
40
  require.resolve('./lib/test.cjs'),
40
41
  require.resolve('./lib/mini.cjs'),
41
42
  'plugin:@nice-move/html/recommended',
43
+ 'plugin:regexp/recommended',
42
44
  'prettier',
43
45
  ],
44
46
  ...configHas(
package/lib/base.cjs CHANGED
@@ -37,7 +37,6 @@ module.exports = {
37
37
  },
38
38
  rules: {
39
39
  'lines-around-directive': 0,
40
- '@eslint-community/eslint-comments/no-unused-enable': 'warn',
41
40
  'array-callback-return': [
42
41
  'error',
43
42
  {
@@ -121,5 +120,7 @@ module.exports = {
121
120
  'prefer-exponentiation-operator': 0,
122
121
  'prefer-template': 'warn',
123
122
  'spaced-comment': 0,
123
+ '@eslint-community/eslint-comments/no-unused-enable': 'warn',
124
+ '@eslint-community/eslint-comments/disable-enable-pair': 0,
124
125
  },
125
126
  };
package/lib/unicorn.cjs CHANGED
@@ -15,10 +15,12 @@ module.exports = {
15
15
  { onlyIfContainsSeparator: true },
16
16
  ],
17
17
  'unicorn/prefer-export-from': ['error', { ignoreUsedVariables: true }],
18
+ 'unicorn/prefer-global-this': 0,
18
19
  'unicorn/prefer-prototype-methods': 'off',
19
20
  'unicorn/prefer-set-has': 'off',
20
21
  'unicorn/prefer-top-level-await': 'off',
21
22
  'unicorn/prevent-abbreviations': 'off',
23
+ 'unicorn/relative-url-style': ['error', 'always'],
22
24
  'unicorn/require-post-message-target-origin': 'off',
23
25
  'unicorn/template-indent': 'off',
24
26
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-move/eslint-config-base",
3
- "version": "0.11.22",
3
+ "version": "0.11.24",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -34,20 +34,21 @@
34
34
  },
35
35
  "main": "index.cjs",
36
36
  "dependencies": {
37
- "@babel/core": "^7.25.2",
38
- "@babel/eslint-parser": "^7.25.1",
39
- "@babel/plugin-syntax-import-attributes": "^7.25.6",
37
+ "@babel/core": "^7.25.7",
38
+ "@babel/eslint-parser": "^7.25.7",
39
+ "@babel/plugin-syntax-import-attributes": "^7.25.7",
40
40
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
41
41
  "@nice-move/eslint-plugin-html": "0.0.0-beta.4",
42
- "@typescript-eslint/eslint-plugin": "^8.7.0",
43
- "@typescript-eslint/parser": "^8.7.0",
42
+ "@typescript-eslint/eslint-plugin": "^8.8.1",
43
+ "@typescript-eslint/parser": "^8.8.1",
44
44
  "eslint-config-airbnb-base": "^15.0.0",
45
45
  "eslint-config-prettier": "^9.1.0",
46
- "eslint-plugin-import": "^2.30.0",
46
+ "eslint-plugin-import": "^2.31.0",
47
47
  "eslint-plugin-markdown": "^5.1.0",
48
48
  "eslint-plugin-n": "^17.10.3",
49
49
  "eslint-plugin-promise": "^7.1.0",
50
- "eslint-plugin-unicorn": "^55.0.0",
50
+ "eslint-plugin-regexp": "^2.6.0",
51
+ "eslint-plugin-unicorn": "^56.0.0",
51
52
  "espree": "^9.6.1",
52
53
  "resolve.exports": "^2.0.2",
53
54
  "settingz": "^0.2.0"