@enormora/eslint-config-typescript 0.0.15 → 0.0.17
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 +6 -6
- package/typescript.js +7 -3
package/package.json
CHANGED
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
"Christian Rackerseder <github@echooff.de>"
|
|
5
5
|
],
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
8
|
-
"@typescript-eslint/parser": "8.
|
|
9
|
-
"eslint-plugin-functional": "7.0
|
|
10
|
-
"eslint-plugin-perfectionist": "
|
|
7
|
+
"@typescript-eslint/eslint-plugin": "8.15.0",
|
|
8
|
+
"@typescript-eslint/parser": "8.15.0",
|
|
9
|
+
"eslint-plugin-functional": "7.1.0",
|
|
10
|
+
"eslint-plugin-perfectionist": "4.0.3"
|
|
11
11
|
},
|
|
12
12
|
"description": "Enormora’s ESLint typescript configuration",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "typescript.js",
|
|
15
15
|
"name": "@enormora/eslint-config-typescript",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@enormora/eslint-config-base": "0.0.
|
|
17
|
+
"@enormora/eslint-config-base": "0.0.17"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
21
|
"url": "git://github.com/enormora/eslint-config.git"
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
|
-
"version": "0.0.
|
|
24
|
+
"version": "0.0.17"
|
|
25
25
|
}
|
package/typescript.js
CHANGED
|
@@ -295,6 +295,8 @@ export const typescriptConfig = {
|
|
|
295
295
|
'@typescript-eslint/no-deprecated': 'off',
|
|
296
296
|
'@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error',
|
|
297
297
|
'@typescript-eslint/no-unnecessary-type-parameters': 'error',
|
|
298
|
+
'@typescript-eslint/no-unsafe-type-assertion': 'error',
|
|
299
|
+
'@typescript-eslint/related-getter-setter-pairs': 'off',
|
|
298
300
|
|
|
299
301
|
'functional/functional-parameters': 'off',
|
|
300
302
|
'functional/immutable-data': 'off',
|
|
@@ -346,6 +348,7 @@ export const typescriptConfig = {
|
|
|
346
348
|
],
|
|
347
349
|
'functional/prefer-tacit': 'error',
|
|
348
350
|
'functional/readonly-type': ['error', 'keyword'],
|
|
351
|
+
'functional/no-class-inheritance': 'off',
|
|
349
352
|
'functional/type-declaration-immutability': [
|
|
350
353
|
'error',
|
|
351
354
|
{
|
|
@@ -419,7 +422,6 @@ export const typescriptConfig = {
|
|
|
419
422
|
}
|
|
420
423
|
],
|
|
421
424
|
'perfectionist/sort-array-includes': 'off',
|
|
422
|
-
'perfectionist/sort-astro-attributes': 'off',
|
|
423
425
|
'perfectionist/sort-classes': 'off',
|
|
424
426
|
'perfectionist/sort-enums': 'off',
|
|
425
427
|
'perfectionist/sort-exports': 'off',
|
|
@@ -431,9 +433,11 @@ export const typescriptConfig = {
|
|
|
431
433
|
'perfectionist/sort-named-imports': 'off',
|
|
432
434
|
'perfectionist/sort-object-types': 'off',
|
|
433
435
|
'perfectionist/sort-objects': 'off',
|
|
434
|
-
'perfectionist/sort-svelte-attributes': 'off',
|
|
435
436
|
'perfectionist/sort-switch-case': 'off',
|
|
436
437
|
'perfectionist/sort-variable-declarations': 'off',
|
|
437
|
-
'perfectionist/sort-
|
|
438
|
+
'perfectionist/sort-sets': 'off',
|
|
439
|
+
'perfectionist/sort-heritage-clauses': 'off',
|
|
440
|
+
'perfectionist/sort-decorators': 'off',
|
|
441
|
+
'perfectionist/sort-modules': 'off'
|
|
438
442
|
}
|
|
439
443
|
};
|