@jay-es/oxlint-config 0.1.0

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.
@@ -0,0 +1,63 @@
1
+ // Source: typescript-eslint disableTypeChecked config
2
+
3
+ export const rules = {
4
+ "typescript/await-thenable": "off",
5
+ "typescript/consistent-return": "off",
6
+ "typescript/consistent-type-exports": "off",
7
+ "typescript/dot-notation": "off",
8
+ "typescript/no-array-delete": "off",
9
+ "typescript/no-base-to-string": "off",
10
+ "typescript/no-confusing-void-expression": "off",
11
+ "typescript/no-deprecated": "off",
12
+ "typescript/no-duplicate-type-constituents": "off",
13
+ "typescript/no-floating-promises": "off",
14
+ "typescript/no-for-in-array": "off",
15
+ "typescript/no-implied-eval": "off",
16
+ "typescript/no-meaningless-void-operator": "off",
17
+ "typescript/no-misused-promises": "off",
18
+ "typescript/no-misused-spread": "off",
19
+ "typescript/no-mixed-enums": "off",
20
+ "typescript/no-redundant-type-constituents": "off",
21
+ "typescript/no-unnecessary-boolean-literal-compare": "off",
22
+ "typescript/no-unnecessary-condition": "off",
23
+ "typescript/no-unnecessary-qualifier": "off",
24
+ "typescript/no-unnecessary-template-expression": "off",
25
+ "typescript/no-unnecessary-type-arguments": "off",
26
+ "typescript/no-unnecessary-type-assertion": "off",
27
+ "typescript/no-unnecessary-type-conversion": "off",
28
+ "typescript/no-unnecessary-type-parameters": "off",
29
+ "typescript/no-unsafe-argument": "off",
30
+ "typescript/no-unsafe-assignment": "off",
31
+ "typescript/no-unsafe-call": "off",
32
+ "typescript/no-unsafe-enum-comparison": "off",
33
+ "typescript/no-unsafe-member-access": "off",
34
+ "typescript/no-unsafe-return": "off",
35
+ "typescript/no-unsafe-type-assertion": "off",
36
+ "typescript/no-unsafe-unary-minus": "off",
37
+ "typescript/no-useless-default-assignment": "off",
38
+ "typescript/non-nullable-type-assertion-style": "off",
39
+ "typescript/only-throw-error": "off",
40
+ "typescript/prefer-find": "off",
41
+ "typescript/prefer-includes": "off",
42
+ "typescript/prefer-nullish-coalescing": "off",
43
+ "typescript/prefer-optional-chain": "off",
44
+ "typescript/prefer-promise-reject-errors": "off",
45
+ "typescript/prefer-readonly": "off",
46
+ "typescript/prefer-readonly-parameter-types": "off",
47
+ "typescript/prefer-reduce-type-parameter": "off",
48
+ "typescript/prefer-regexp-exec": "off",
49
+ "typescript/prefer-return-this-type": "off",
50
+ "typescript/prefer-string-starts-ends-with": "off",
51
+ "typescript/promise-function-async": "off",
52
+ "typescript/related-getter-setter-pairs": "off",
53
+ "typescript/require-array-sort-compare": "off",
54
+ "typescript/require-await": "off",
55
+ "typescript/restrict-plus-operands": "off",
56
+ "typescript/restrict-template-expressions": "off",
57
+ "typescript/return-await": "off",
58
+ "typescript/strict-boolean-expressions": "off",
59
+ "typescript/strict-void-return": "off",
60
+ "typescript/switch-exhaustiveness-check": "off",
61
+ "typescript/unbound-method": "off",
62
+ "typescript/use-unknown-in-catch-callback-variable": "off"
63
+ };
@@ -0,0 +1,25 @@
1
+ // Source: typescript-eslint eslintRecommended config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error"
25
+ };
@@ -0,0 +1,52 @@
1
+ // Source: typescript-eslint recommendedTypeCheckedOnly config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/await-thenable": "error",
26
+ "typescript/no-array-delete": "error",
27
+ "typescript/no-base-to-string": "error",
28
+ "typescript/no-duplicate-type-constituents": "error",
29
+ "typescript/no-floating-promises": "error",
30
+ "typescript/no-for-in-array": "error",
31
+ "no-implied-eval": "off",
32
+ "typescript/no-implied-eval": "error",
33
+ "typescript/no-misused-promises": "error",
34
+ "typescript/no-redundant-type-constituents": "error",
35
+ "typescript/no-unnecessary-type-assertion": "error",
36
+ "typescript/no-unsafe-argument": "error",
37
+ "typescript/no-unsafe-assignment": "error",
38
+ "typescript/no-unsafe-call": "error",
39
+ "typescript/no-unsafe-enum-comparison": "error",
40
+ "typescript/no-unsafe-member-access": "error",
41
+ "typescript/no-unsafe-return": "error",
42
+ "typescript/no-unsafe-unary-minus": "error",
43
+ "no-throw-literal": "off",
44
+ "typescript/only-throw-error": "error",
45
+ "prefer-promise-reject-errors": "off",
46
+ "typescript/prefer-promise-reject-errors": "error",
47
+ "require-await": "off",
48
+ "typescript/require-await": "error",
49
+ "typescript/restrict-plus-operands": "error",
50
+ "typescript/restrict-template-expressions": "error",
51
+ "typescript/unbound-method": "error"
52
+ };
@@ -0,0 +1,72 @@
1
+ // Source: typescript-eslint recommendedTypeChecked config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/await-thenable": "error",
26
+ "typescript/ban-ts-comment": "error",
27
+ "no-array-constructor": "off",
28
+ "typescript/no-array-delete": "error",
29
+ "typescript/no-base-to-string": "error",
30
+ "typescript/no-duplicate-enum-values": "error",
31
+ "typescript/no-duplicate-type-constituents": "error",
32
+ "typescript/no-empty-object-type": "error",
33
+ "typescript/no-explicit-any": "error",
34
+ "typescript/no-extra-non-null-assertion": "error",
35
+ "typescript/no-floating-promises": "error",
36
+ "typescript/no-for-in-array": "error",
37
+ "no-implied-eval": "off",
38
+ "typescript/no-implied-eval": "error",
39
+ "typescript/no-misused-new": "error",
40
+ "typescript/no-misused-promises": "error",
41
+ "typescript/no-namespace": "error",
42
+ "typescript/no-non-null-asserted-optional-chain": "error",
43
+ "typescript/no-redundant-type-constituents": "error",
44
+ "typescript/no-require-imports": "error",
45
+ "typescript/no-this-alias": "error",
46
+ "typescript/no-unnecessary-type-assertion": "error",
47
+ "typescript/no-unnecessary-type-constraint": "error",
48
+ "typescript/no-unsafe-argument": "error",
49
+ "typescript/no-unsafe-assignment": "error",
50
+ "typescript/no-unsafe-call": "error",
51
+ "typescript/no-unsafe-declaration-merging": "error",
52
+ "typescript/no-unsafe-enum-comparison": "error",
53
+ "typescript/no-unsafe-function-type": "error",
54
+ "typescript/no-unsafe-member-access": "error",
55
+ "typescript/no-unsafe-return": "error",
56
+ "typescript/no-unsafe-unary-minus": "error",
57
+ "no-unused-expressions": "off",
58
+ "no-unused-vars": "off",
59
+ "typescript/no-wrapper-object-types": "error",
60
+ "no-throw-literal": "off",
61
+ "typescript/only-throw-error": "error",
62
+ "typescript/prefer-as-const": "error",
63
+ "typescript/prefer-namespace-keyword": "error",
64
+ "prefer-promise-reject-errors": "off",
65
+ "typescript/prefer-promise-reject-errors": "error",
66
+ "require-await": "off",
67
+ "typescript/require-await": "error",
68
+ "typescript/restrict-plus-operands": "error",
69
+ "typescript/restrict-template-expressions": "error",
70
+ "typescript/triple-slash-reference": "error",
71
+ "typescript/unbound-method": "error"
72
+ };
@@ -0,0 +1,45 @@
1
+ // Source: typescript-eslint recommended config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/ban-ts-comment": "error",
26
+ "no-array-constructor": "off",
27
+ "typescript/no-duplicate-enum-values": "error",
28
+ "typescript/no-empty-object-type": "error",
29
+ "typescript/no-explicit-any": "error",
30
+ "typescript/no-extra-non-null-assertion": "error",
31
+ "typescript/no-misused-new": "error",
32
+ "typescript/no-namespace": "error",
33
+ "typescript/no-non-null-asserted-optional-chain": "error",
34
+ "typescript/no-require-imports": "error",
35
+ "typescript/no-this-alias": "error",
36
+ "typescript/no-unnecessary-type-constraint": "error",
37
+ "typescript/no-unsafe-declaration-merging": "error",
38
+ "typescript/no-unsafe-function-type": "error",
39
+ "no-unused-expressions": "off",
40
+ "no-unused-vars": "off",
41
+ "typescript/no-wrapper-object-types": "error",
42
+ "typescript/prefer-as-const": "error",
43
+ "typescript/prefer-namespace-keyword": "error",
44
+ "typescript/triple-slash-reference": "error"
45
+ };
@@ -0,0 +1,91 @@
1
+ // Source: typescript-eslint strictTypeCheckedOnly config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/await-thenable": "error",
26
+ "typescript/no-array-delete": "error",
27
+ "typescript/no-base-to-string": "error",
28
+ "typescript/no-confusing-void-expression": "error",
29
+ "typescript/no-deprecated": "error",
30
+ "typescript/no-duplicate-type-constituents": "error",
31
+ "typescript/no-floating-promises": "error",
32
+ "typescript/no-for-in-array": "error",
33
+ "no-implied-eval": "off",
34
+ "typescript/no-implied-eval": "error",
35
+ "typescript/no-meaningless-void-operator": "error",
36
+ "typescript/no-misused-promises": "error",
37
+ "typescript/no-misused-spread": "error",
38
+ "typescript/no-mixed-enums": "error",
39
+ "typescript/no-redundant-type-constituents": "error",
40
+ "typescript/no-unnecessary-boolean-literal-compare": "error",
41
+ "typescript/no-unnecessary-condition": "error",
42
+ "typescript/no-unnecessary-template-expression": "error",
43
+ "typescript/no-unnecessary-type-arguments": "error",
44
+ "typescript/no-unnecessary-type-assertion": "error",
45
+ "typescript/no-unnecessary-type-conversion": "error",
46
+ "typescript/no-unnecessary-type-parameters": "error",
47
+ "typescript/no-unsafe-argument": "error",
48
+ "typescript/no-unsafe-assignment": "error",
49
+ "typescript/no-unsafe-call": "error",
50
+ "typescript/no-unsafe-enum-comparison": "error",
51
+ "typescript/no-unsafe-member-access": "error",
52
+ "typescript/no-unsafe-return": "error",
53
+ "typescript/no-unsafe-unary-minus": "error",
54
+ "typescript/no-useless-default-assignment": "error",
55
+ "no-throw-literal": "off",
56
+ "typescript/only-throw-error": "error",
57
+ "prefer-promise-reject-errors": "off",
58
+ "typescript/prefer-promise-reject-errors": "error",
59
+ "typescript/prefer-reduce-type-parameter": "error",
60
+ "typescript/prefer-return-this-type": "error",
61
+ "typescript/related-getter-setter-pairs": "error",
62
+ "require-await": "off",
63
+ "typescript/require-await": "error",
64
+ "typescript/restrict-plus-operands": [
65
+ "error",
66
+ {
67
+ "allowAny": false,
68
+ "allowBoolean": false,
69
+ "allowNullish": false,
70
+ "allowNumberAndString": false,
71
+ "allowRegExp": false
72
+ }
73
+ ],
74
+ "typescript/restrict-template-expressions": [
75
+ "error",
76
+ {
77
+ "allowAny": false,
78
+ "allowBoolean": false,
79
+ "allowNever": false,
80
+ "allowNullish": false,
81
+ "allowNumber": false,
82
+ "allowRegExp": false
83
+ }
84
+ ],
85
+ "typescript/return-await": [
86
+ "error",
87
+ "error-handling-correctness-only"
88
+ ],
89
+ "typescript/unbound-method": "error",
90
+ "typescript/use-unknown-in-catch-callback-variable": "error"
91
+ };
@@ -0,0 +1,124 @@
1
+ // Source: typescript-eslint strictTypeChecked config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/await-thenable": "error",
26
+ "typescript/ban-ts-comment": [
27
+ "error",
28
+ {
29
+ "minimumDescriptionLength": 10
30
+ }
31
+ ],
32
+ "no-array-constructor": "off",
33
+ "typescript/no-array-delete": "error",
34
+ "typescript/no-base-to-string": "error",
35
+ "typescript/no-confusing-void-expression": "error",
36
+ "typescript/no-deprecated": "error",
37
+ "typescript/no-duplicate-enum-values": "error",
38
+ "typescript/no-duplicate-type-constituents": "error",
39
+ "typescript/no-dynamic-delete": "error",
40
+ "typescript/no-empty-object-type": "error",
41
+ "typescript/no-explicit-any": "error",
42
+ "typescript/no-extra-non-null-assertion": "error",
43
+ "typescript/no-extraneous-class": "error",
44
+ "typescript/no-floating-promises": "error",
45
+ "typescript/no-for-in-array": "error",
46
+ "no-implied-eval": "off",
47
+ "typescript/no-implied-eval": "error",
48
+ "typescript/no-invalid-void-type": "error",
49
+ "typescript/no-meaningless-void-operator": "error",
50
+ "typescript/no-misused-new": "error",
51
+ "typescript/no-misused-promises": "error",
52
+ "typescript/no-misused-spread": "error",
53
+ "typescript/no-mixed-enums": "error",
54
+ "typescript/no-namespace": "error",
55
+ "typescript/no-non-null-asserted-nullish-coalescing": "error",
56
+ "typescript/no-non-null-asserted-optional-chain": "error",
57
+ "typescript/no-non-null-assertion": "error",
58
+ "typescript/no-redundant-type-constituents": "error",
59
+ "typescript/no-require-imports": "error",
60
+ "typescript/no-this-alias": "error",
61
+ "typescript/no-unnecessary-boolean-literal-compare": "error",
62
+ "typescript/no-unnecessary-condition": "error",
63
+ "typescript/no-unnecessary-template-expression": "error",
64
+ "typescript/no-unnecessary-type-arguments": "error",
65
+ "typescript/no-unnecessary-type-assertion": "error",
66
+ "typescript/no-unnecessary-type-constraint": "error",
67
+ "typescript/no-unnecessary-type-conversion": "error",
68
+ "typescript/no-unnecessary-type-parameters": "error",
69
+ "typescript/no-unsafe-argument": "error",
70
+ "typescript/no-unsafe-assignment": "error",
71
+ "typescript/no-unsafe-call": "error",
72
+ "typescript/no-unsafe-declaration-merging": "error",
73
+ "typescript/no-unsafe-enum-comparison": "error",
74
+ "typescript/no-unsafe-function-type": "error",
75
+ "typescript/no-unsafe-member-access": "error",
76
+ "typescript/no-unsafe-return": "error",
77
+ "typescript/no-unsafe-unary-minus": "error",
78
+ "no-unused-expressions": "off",
79
+ "no-unused-vars": "off",
80
+ "no-useless-constructor": "off",
81
+ "typescript/no-useless-default-assignment": "error",
82
+ "typescript/no-wrapper-object-types": "error",
83
+ "no-throw-literal": "off",
84
+ "typescript/only-throw-error": "error",
85
+ "typescript/prefer-as-const": "error",
86
+ "typescript/prefer-literal-enum-member": "error",
87
+ "typescript/prefer-namespace-keyword": "error",
88
+ "prefer-promise-reject-errors": "off",
89
+ "typescript/prefer-promise-reject-errors": "error",
90
+ "typescript/prefer-reduce-type-parameter": "error",
91
+ "typescript/prefer-return-this-type": "error",
92
+ "typescript/related-getter-setter-pairs": "error",
93
+ "require-await": "off",
94
+ "typescript/require-await": "error",
95
+ "typescript/restrict-plus-operands": [
96
+ "error",
97
+ {
98
+ "allowAny": false,
99
+ "allowBoolean": false,
100
+ "allowNullish": false,
101
+ "allowNumberAndString": false,
102
+ "allowRegExp": false
103
+ }
104
+ ],
105
+ "typescript/restrict-template-expressions": [
106
+ "error",
107
+ {
108
+ "allowAny": false,
109
+ "allowBoolean": false,
110
+ "allowNever": false,
111
+ "allowNullish": false,
112
+ "allowNumber": false,
113
+ "allowRegExp": false
114
+ }
115
+ ],
116
+ "typescript/return-await": [
117
+ "error",
118
+ "error-handling-correctness-only"
119
+ ],
120
+ "typescript/triple-slash-reference": "error",
121
+ "typescript/unbound-method": "error",
122
+ "typescript/unified-signatures": "error",
123
+ "typescript/use-unknown-in-catch-callback-variable": "error"
124
+ };
@@ -0,0 +1,58 @@
1
+ // Source: typescript-eslint strict config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/ban-ts-comment": [
26
+ "error",
27
+ {
28
+ "minimumDescriptionLength": 10
29
+ }
30
+ ],
31
+ "no-array-constructor": "off",
32
+ "typescript/no-duplicate-enum-values": "error",
33
+ "typescript/no-dynamic-delete": "error",
34
+ "typescript/no-empty-object-type": "error",
35
+ "typescript/no-explicit-any": "error",
36
+ "typescript/no-extra-non-null-assertion": "error",
37
+ "typescript/no-extraneous-class": "error",
38
+ "typescript/no-invalid-void-type": "error",
39
+ "typescript/no-misused-new": "error",
40
+ "typescript/no-namespace": "error",
41
+ "typescript/no-non-null-asserted-nullish-coalescing": "error",
42
+ "typescript/no-non-null-asserted-optional-chain": "error",
43
+ "typescript/no-non-null-assertion": "error",
44
+ "typescript/no-require-imports": "error",
45
+ "typescript/no-this-alias": "error",
46
+ "typescript/no-unnecessary-type-constraint": "error",
47
+ "typescript/no-unsafe-declaration-merging": "error",
48
+ "typescript/no-unsafe-function-type": "error",
49
+ "no-unused-expressions": "off",
50
+ "no-unused-vars": "off",
51
+ "no-useless-constructor": "off",
52
+ "typescript/no-wrapper-object-types": "error",
53
+ "typescript/prefer-as-const": "error",
54
+ "typescript/prefer-literal-enum-member": "error",
55
+ "typescript/prefer-namespace-keyword": "error",
56
+ "typescript/triple-slash-reference": "error",
57
+ "typescript/unified-signatures": "error"
58
+ };
@@ -0,0 +1,33 @@
1
+ // Source: typescript-eslint stylisticTypeCheckedOnly config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/dot-notation": "error",
26
+ "typescript/non-nullable-type-assertion-style": "error",
27
+ "typescript/prefer-find": "error",
28
+ "typescript/prefer-includes": "error",
29
+ "typescript/prefer-nullish-coalescing": "error",
30
+ "typescript/prefer-optional-chain": "error",
31
+ "typescript/prefer-regexp-exec": "error",
32
+ "typescript/prefer-string-starts-ends-with": "error"
33
+ };
@@ -0,0 +1,46 @@
1
+ // Source: typescript-eslint stylisticTypeChecked config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/adjacent-overload-signatures": "error",
26
+ "typescript/array-type": "error",
27
+ "typescript/ban-tslint-comment": "error",
28
+ "typescript/class-literal-property-style": "error",
29
+ "typescript/consistent-generic-constructors": "error",
30
+ "typescript/consistent-indexed-object-style": "error",
31
+ "typescript/consistent-type-assertions": "error",
32
+ "typescript/consistent-type-definitions": "error",
33
+ "typescript/dot-notation": "error",
34
+ "typescript/no-confusing-non-null-assertion": "error",
35
+ "no-empty-function": "off",
36
+ "typescript/no-inferrable-types": "error",
37
+ "typescript/non-nullable-type-assertion-style": "error",
38
+ "typescript/prefer-find": "error",
39
+ "typescript/prefer-for-of": "error",
40
+ "typescript/prefer-function-type": "error",
41
+ "typescript/prefer-includes": "error",
42
+ "typescript/prefer-nullish-coalescing": "error",
43
+ "typescript/prefer-optional-chain": "error",
44
+ "typescript/prefer-regexp-exec": "error",
45
+ "typescript/prefer-string-starts-ends-with": "error"
46
+ };
@@ -0,0 +1,38 @@
1
+ // Source: typescript-eslint stylistic config
2
+
3
+ export const rules = {
4
+ "constructor-super": "off",
5
+ "getter-return": "off",
6
+ "no-class-assign": "off",
7
+ "no-const-assign": "off",
8
+ "no-dupe-class-members": "off",
9
+ "no-dupe-keys": "off",
10
+ "no-func-assign": "off",
11
+ "no-import-assign": "off",
12
+ "no-new-native-nonconstructor": "off",
13
+ "no-obj-calls": "off",
14
+ "no-redeclare": "off",
15
+ "no-setter-return": "off",
16
+ "no-this-before-super": "off",
17
+ "no-undef": "off",
18
+ "no-unreachable": "off",
19
+ "no-unsafe-negation": "off",
20
+ "no-var": "error",
21
+ "no-with": "off",
22
+ "prefer-const": "error",
23
+ "prefer-rest-params": "error",
24
+ "prefer-spread": "error",
25
+ "typescript/adjacent-overload-signatures": "error",
26
+ "typescript/array-type": "error",
27
+ "typescript/ban-tslint-comment": "error",
28
+ "typescript/class-literal-property-style": "error",
29
+ "typescript/consistent-generic-constructors": "error",
30
+ "typescript/consistent-indexed-object-style": "error",
31
+ "typescript/consistent-type-assertions": "error",
32
+ "typescript/consistent-type-definitions": "error",
33
+ "typescript/no-confusing-non-null-assertion": "error",
34
+ "no-empty-function": "off",
35
+ "typescript/no-inferrable-types": "error",
36
+ "typescript/prefer-for-of": "error",
37
+ "typescript/prefer-function-type": "error"
38
+ };