@enormora/eslint-config-typescript 0.0.30 → 0.0.32

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/typescript.js +5 -0
package/package.json CHANGED
@@ -4,24 +4,24 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@typescript-eslint/eslint-plugin": "8.46.2",
8
- "@typescript-eslint/parser": "8.46.2",
7
+ "@typescript-eslint/eslint-plugin": "8.54.0",
8
+ "@typescript-eslint/parser": "8.54.0",
9
9
  "eslint-import-resolver-typescript": "4.4.4",
10
10
  "eslint-plugin-functional": "9.0.2",
11
11
  "eslint-plugin-import-x": "4.16.1",
12
- "eslint-plugin-perfectionist": "4.15.1"
12
+ "eslint-plugin-perfectionist": "5.4.0"
13
13
  },
14
14
  "description": "Enormora’s ESLint typescript configuration",
15
15
  "license": "MIT",
16
16
  "main": "typescript.js",
17
17
  "name": "@enormora/eslint-config-typescript",
18
18
  "peerDependencies": {
19
- "@enormora/eslint-config-base": "0.0.26"
19
+ "@enormora/eslint-config-base": "0.0.28"
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",
23
23
  "url": "git://github.com/enormora/eslint-config.git"
24
24
  },
25
25
  "type": "module",
26
- "version": "0.0.30"
26
+ "version": "0.0.32"
27
27
  }
package/typescript.js CHANGED
@@ -152,9 +152,11 @@ export const typescriptConfig = {
152
152
  '@typescript-eslint/no-unnecessary-qualifier': 'error',
153
153
  '@typescript-eslint/no-unnecessary-type-arguments': 'error',
154
154
  '@typescript-eslint/no-unnecessary-type-assertion': 'error',
155
+ '@typescript-eslint/no-unused-private-class-members': 'error',
155
156
  ...configureWrappedCoreRule('no-unused-vars'),
156
157
  ...configureWrappedCoreRule('no-useless-constructor'),
157
158
  '@typescript-eslint/no-useless-constructor': 'error',
159
+ '@typescript-eslint/no-useless-default-assignment': 'error',
158
160
  ...configureWrappedCoreRule('prefer-destructuring'),
159
161
  '@typescript-eslint/prefer-for-of': 'error',
160
162
  '@typescript-eslint/prefer-function-type': 'error',
@@ -193,6 +195,7 @@ export const typescriptConfig = {
193
195
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
194
196
  }
195
197
  ],
198
+ '@typescript-eslint/strict-void-return': 'error',
196
199
  '@typescript-eslint/only-throw-error': 'error',
197
200
  '@typescript-eslint/prefer-optional-chain': 'error',
198
201
  '@typescript-eslint/prefer-nullish-coalescing': ['error', { ignoreIfStatements: true }],
@@ -440,9 +443,11 @@ export const typescriptConfig = {
440
443
  'perfectionist/sort-classes': 'off',
441
444
  'perfectionist/sort-enums': 'off',
442
445
  'perfectionist/sort-exports': 'off',
446
+ 'perfectionist/sort-export-attributes': 'off',
443
447
  'perfectionist/sort-imports': 'off',
444
448
  'perfectionist/sort-interfaces': 'off',
445
449
  'perfectionist/sort-jsx-props': 'off',
450
+ 'perfectionist/sort-import-attributes': 'off',
446
451
  'perfectionist/sort-maps': 'off',
447
452
  'perfectionist/sort-named-exports': 'off',
448
453
  'perfectionist/sort-named-imports': 'off',