@enormora/eslint-config-base 0.0.14 → 0.0.16

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/base.js CHANGED
@@ -66,7 +66,7 @@ export const baseConfig = {
66
66
  'no-else-return': ['error', { allowElseIf: false }],
67
67
  'no-empty': ['error', { allowEmptyCatch: true }],
68
68
  'no-empty-character-class': 'error',
69
- 'no-empty-function': 'off',
69
+ 'no-empty-function': 'error',
70
70
  'no-empty-pattern': 'error',
71
71
  'no-empty-static-block': 'error',
72
72
  'no-eq-null': 'error',
package/package.json CHANGED
@@ -4,17 +4,17 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@cspell/eslint-plugin": "8.14.2",
8
- "@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
9
- "@stylistic/eslint-plugin": "2.7.2",
7
+ "@cspell/eslint-plugin": "8.16.0",
8
+ "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
9
+ "@stylistic/eslint-plugin": "2.10.1",
10
10
  "eslint-plugin-array-func": "5.0.2",
11
11
  "eslint-plugin-destructuring": "2.2.1",
12
- "eslint-plugin-import-x": "4.1.1",
13
- "eslint-plugin-no-secrets": "1.0.2",
12
+ "eslint-plugin-import-x": "4.4.0",
13
+ "eslint-plugin-no-secrets": "1.1.2",
14
14
  "eslint-plugin-prettier": "5.2.1",
15
15
  "eslint-plugin-promise": "7.1.0",
16
16
  "eslint-plugin-sonarjs": "1.0.4",
17
- "eslint-plugin-unicorn": "55.0.0"
17
+ "eslint-plugin-unicorn": "56.0.0"
18
18
  },
19
19
  "description": "Enormora’s ESLint base configuration",
20
20
  "license": "MIT",
@@ -25,5 +25,5 @@
25
25
  "url": "git://github.com/enormora/eslint-config.git"
26
26
  },
27
27
  "type": "module",
28
- "version": "0.0.14"
28
+ "version": "0.0.16"
29
29
  }
@@ -134,6 +134,9 @@ export const bestPracticesRuleSet = {
134
134
  'unicorn/no-negation-in-equality-check': 'error',
135
135
  'unicorn/prefer-string-raw': 'off',
136
136
  'unicorn/prefer-structured-clone': 'error',
137
+ 'unicorn/consistent-existence-index-check': 'error',
138
+ 'unicorn/prefer-global-this': 'error',
139
+ 'unicorn/prefer-math-min-max': 'error',
137
140
 
138
141
  'array-func/from-map': 'error',
139
142
  'array-func/no-unnecessary-this-arg': 'error',
@@ -222,6 +222,7 @@ export const stylisticRuleSet = {
222
222
  before: false
223
223
  }
224
224
  ],
225
+ '@stylistic/curly-newline': 'off',
225
226
  '@stylistic/template-curly-spacing': 'error',
226
227
  '@stylistic/template-tag-spacing': ['error', 'never'],
227
228
  '@stylistic/type-annotation-spacing': 'error',