@enormora/eslint-config-typescript 0.0.31 → 0.0.33

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 +6 -2
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.4",
8
- "@typescript-eslint/parser": "8.46.4",
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.27"
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.31"
26
+ "version": "0.0.33"
27
27
  }
package/typescript.js CHANGED
@@ -36,8 +36,7 @@ export const typescriptConfig = {
36
36
  jsx: false,
37
37
  globalReturn: false
38
38
  },
39
- projectService: true,
40
- project: 'tsconfig.json'
39
+ projectService: true
41
40
  }
42
41
  },
43
42
  settings: {
@@ -152,9 +151,11 @@ export const typescriptConfig = {
152
151
  '@typescript-eslint/no-unnecessary-qualifier': 'error',
153
152
  '@typescript-eslint/no-unnecessary-type-arguments': 'error',
154
153
  '@typescript-eslint/no-unnecessary-type-assertion': 'error',
154
+ '@typescript-eslint/no-unused-private-class-members': 'error',
155
155
  ...configureWrappedCoreRule('no-unused-vars'),
156
156
  ...configureWrappedCoreRule('no-useless-constructor'),
157
157
  '@typescript-eslint/no-useless-constructor': 'error',
158
+ '@typescript-eslint/no-useless-default-assignment': 'error',
158
159
  ...configureWrappedCoreRule('prefer-destructuring'),
159
160
  '@typescript-eslint/prefer-for-of': 'error',
160
161
  '@typescript-eslint/prefer-function-type': 'error',
@@ -193,6 +194,7 @@ export const typescriptConfig = {
193
194
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
194
195
  }
195
196
  ],
197
+ '@typescript-eslint/strict-void-return': 'error',
196
198
  '@typescript-eslint/only-throw-error': 'error',
197
199
  '@typescript-eslint/prefer-optional-chain': 'error',
198
200
  '@typescript-eslint/prefer-nullish-coalescing': ['error', { ignoreIfStatements: true }],
@@ -440,9 +442,11 @@ export const typescriptConfig = {
440
442
  'perfectionist/sort-classes': 'off',
441
443
  'perfectionist/sort-enums': 'off',
442
444
  'perfectionist/sort-exports': 'off',
445
+ 'perfectionist/sort-export-attributes': 'off',
443
446
  'perfectionist/sort-imports': 'off',
444
447
  'perfectionist/sort-interfaces': 'off',
445
448
  'perfectionist/sort-jsx-props': 'off',
449
+ 'perfectionist/sort-import-attributes': 'off',
446
450
  'perfectionist/sort-maps': 'off',
447
451
  'perfectionist/sort-named-exports': 'off',
448
452
  'perfectionist/sort-named-imports': 'off',