@enormora/eslint-config-base 0.0.27 → 0.0.29

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
@@ -4,18 +4,18 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@cspell/eslint-plugin": "9.6.1",
7
+ "@cspell/eslint-plugin": "9.6.4",
8
8
  "@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
9
- "@stylistic/eslint-plugin": "5.4.0",
9
+ "@stylistic/eslint-plugin": "5.9.0",
10
10
  "eslint-plugin-array-func": "5.1.0",
11
11
  "eslint-plugin-destructuring": "2.2.1",
12
12
  "eslint-plugin-import-x": "4.16.1",
13
13
  "eslint-plugin-no-barrel-files": "1.2.2",
14
- "eslint-plugin-no-secrets": "2.2.1",
14
+ "eslint-plugin-no-secrets": "2.2.2",
15
15
  "eslint-plugin-prettier": "5.5.5",
16
16
  "eslint-plugin-promise": "7.2.1",
17
17
  "eslint-plugin-sonarjs": "1.0.4",
18
- "eslint-plugin-unicorn": "61.0.2"
18
+ "eslint-plugin-unicorn": "63.0.0"
19
19
  },
20
20
  "description": "Enormora’s ESLint base configuration",
21
21
  "license": "MIT",
@@ -26,5 +26,5 @@
26
26
  "url": "git://github.com/enormora/eslint-config.git"
27
27
  },
28
28
  "type": "module",
29
- "version": "0.0.27"
29
+ "version": "0.0.29"
30
30
  }
@@ -33,6 +33,7 @@ export const bestPracticesRuleSet = {
33
33
  'unicorn/explicit-length-check': 'error',
34
34
  'unicorn/no-useless-length-check': 'error',
35
35
  'unicorn/filename-case': 'off',
36
+ 'unicorn/no-immediate-mutation': 'error',
36
37
  'unicorn/new-for-builtins': 'error',
37
38
  'unicorn/no-abusive-eslint-disable': 'error',
38
39
  'unicorn/no-console-spaces': 'error',
@@ -154,6 +155,9 @@ export const bestPracticesRuleSet = {
154
155
  'unicorn/prefer-single-call': 'error',
155
156
  'unicorn/require-module-attributes': 'error',
156
157
  'unicorn/require-module-specifiers': 'error',
158
+ 'unicorn/no-useless-collection-argument': 'error',
159
+ 'unicorn/prefer-response-static-json': 'error',
160
+ 'unicorn/isolated-functions': 'off',
157
161
 
158
162
  'array-func/from-map': 'error',
159
163
  'array-func/no-unnecessary-this-arg': 'error',
@@ -50,6 +50,8 @@ export const stylisticRuleSet = {
50
50
  ],
51
51
  '@stylistic/dot-location': ['error', 'property'],
52
52
  '@stylistic/eol-last': 'error',
53
+ '@stylistic/exp-list-style': 'off',
54
+ '@stylistic/exp-jsx-props-style': 'off',
53
55
  '@stylistic/function-call-spacing': ['error', 'never'],
54
56
  '@stylistic/function-call-argument-newline': ['error', 'consistent'],
55
57
  '@stylistic/function-paren-newline': 'off',
@@ -78,7 +80,6 @@ export const stylisticRuleSet = {
78
80
  '@stylistic/jsx-newline': 'off',
79
81
  '@stylistic/jsx-one-expression-per-line': 'off',
80
82
  '@stylistic/jsx-self-closing-comp': 'off',
81
- '@stylistic/jsx-sort-props': 'off',
82
83
  '@stylistic/jsx-tag-spacing': 'off',
83
84
  '@stylistic/jsx-quotes': 'off',
84
85
  '@stylistic/jsx-wrap-multilines': 'off',