@gooddata/oxlint-config 11.57.0-alpha.0 → 11.57.0-alpha.2

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.
@@ -7,6 +7,10 @@
7
7
  "import"
8
8
  ],
9
9
  "jsPlugins": [
10
+ {
11
+ "name": "eslint-js",
12
+ "specifier": "oxlint-plugin-eslint"
13
+ },
10
14
  {
11
15
  "name": "headers",
12
16
  "specifier": "eslint-plugin-headers"
@@ -63,7 +67,6 @@
63
67
  "no-constant-condition": "error",
64
68
  "no-control-regex": "error",
65
69
  "no-debugger": "error",
66
- "no-dupe-args": "error",
67
70
  "no-dupe-class-members": "error",
68
71
  "no-dupe-else-if": "error",
69
72
  "no-dupe-keys": "error",
@@ -84,7 +87,6 @@
84
87
  "no-new-native-nonconstructor": "error",
85
88
  "no-nonoctal-decimal-escape": "error",
86
89
  "no-obj-calls": "error",
87
- "no-octal": "error",
88
90
  "no-prototype-builtins": "error",
89
91
  "no-redeclare": "error",
90
92
  "no-regex-spaces": "error",
@@ -643,8 +645,30 @@
643
645
  }
644
646
  ],
645
647
  "no-extra-boolean-cast": "error",
646
- "no-restricted-exports": [
647
- 2,
648
+ "no-caller": "error",
649
+ "no-eval": "error",
650
+ "no-delete-var": "error",
651
+ "no-duplicate-imports": "error",
652
+ "prefer-const": "off",
653
+ "eslint-js/no-duplicate-imports": [
654
+ "error",
655
+ {
656
+ "includeExports": true
657
+ }
658
+ ],
659
+ "eslint-js/no-console": [
660
+ "error",
661
+ {
662
+ "allow": [
663
+ "warn",
664
+ "error"
665
+ ]
666
+ }
667
+ ],
668
+ "eslint-js/no-octal": "error",
669
+ "eslint-js/no-dupe-args": "error",
670
+ "eslint-js/no-restricted-exports": [
671
+ "error",
648
672
  {
649
673
  "restrictDefaultExports": {
650
674
  "direct": true,
@@ -655,12 +679,20 @@
655
679
  }
656
680
  }
657
681
  ],
658
- "no-caller": "error",
659
- "no-eval": "error",
660
- "no-delete-var": "error",
661
- "no-octal-escape": "error",
662
- "no-duplicate-imports": "error",
663
- "prefer-const": "off",
682
+ "eslint-js/no-restricted-syntax": [
683
+ "error",
684
+ {
685
+ "selector": "MemberExpression[object.name='React']",
686
+ "message": "Do not use `React.*`. Use named imports instead."
687
+ },
688
+ {
689
+ "selector": "MemberExpression[object.name='ReactDOM']",
690
+ "message": "Do not use `ReactDOM.*`. Use named imports instead."
691
+ }
692
+ ],
693
+ "eslint-js/no-negated-condition": "error",
694
+ "eslint-js/prefer-const": "off",
695
+ "eslint-js/no-octal-escape": "error",
664
696
  "headers/header-format": [
665
697
  "error",
666
698
  {
@@ -989,7 +1021,6 @@
989
1021
  "playwright/valid-expect-in-promise": "error",
990
1022
  "playwright/valid-test-tags": "error",
991
1023
  "playwright/valid-title": "error",
992
- "no-unused-expressions": "off",
993
1024
  "chai-friendly/no-unused-expressions": "error",
994
1025
  "no-only-tests/no-only-tests": [
995
1026
  "error",
@@ -2088,10 +2119,53 @@
2088
2119
  "**/eslint.config.ts",
2089
2120
  "**/eslint.config.js",
2090
2121
  "**/vite.config.ts",
2091
- "**/vite.config.js"
2122
+ "**/vite.config.js",
2123
+ "**/vitest.config.ts",
2124
+ "**/vitest.config.js",
2125
+ "**/rolldown.config.ts",
2126
+ "**/rolldown.config.js",
2127
+ "**/playwright.config.ts",
2128
+ "**/playwright.config.js",
2129
+ "**/.dependency-cruiser.ts",
2130
+ "**/.dependency-cruiser.js",
2131
+ "**/.i18nrc.ts",
2132
+ "**/.i18nrc.js"
2092
2133
  ],
2093
2134
  "rules": {
2094
- "no-restricted-exports": "off"
2135
+ "eslint-js/no-restricted-exports": "off"
2136
+ }
2137
+ },
2138
+ {
2139
+ "files": [
2140
+ "**/*.ts",
2141
+ "**/*.tsx",
2142
+ "**/*.mts",
2143
+ "**/*.cts"
2144
+ ],
2145
+ "rules": {
2146
+ "eslint-js/no-restricted-syntax": [
2147
+ "error",
2148
+ {
2149
+ "selector": "MemberExpression[object.name='React']",
2150
+ "message": "Do not use `React.*`. Use named imports instead."
2151
+ },
2152
+ {
2153
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2154
+ "message": "Do not use `React.*` types. Use named imports instead."
2155
+ },
2156
+ {
2157
+ "selector": "ExportNamespaceSpecifier",
2158
+ "message": "Usage of 'export * as …' is forbidden."
2159
+ },
2160
+ {
2161
+ "selector": "ExportAllDeclaration",
2162
+ "message": "Usage of `export * from` is forbidden."
2163
+ },
2164
+ {
2165
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2166
+ "message": "Do not use `import * as ...` from relative paths."
2167
+ }
2168
+ ]
2095
2169
  }
2096
2170
  },
2097
2171
  {
@@ -2106,13 +2180,11 @@
2106
2180
  "getter-return": "off",
2107
2181
  "no-class-assign": "off",
2108
2182
  "no-const-assign": "off",
2109
- "no-dupe-args": "off",
2110
2183
  "no-dupe-class-members": "off",
2111
2184
  "no-dupe-keys": "off",
2112
2185
  "no-func-assign": "off",
2113
2186
  "no-import-assign": "off",
2114
2187
  "no-new-native-nonconstructor": "off",
2115
- "no-new-symbol": "off",
2116
2188
  "no-obj-calls": "off",
2117
2189
  "no-redeclare": "off",
2118
2190
  "no-setter-return": "off",
@@ -2126,7 +2198,6 @@
2126
2198
  "prefer-rest-params": "error",
2127
2199
  "prefer-spread": "error",
2128
2200
  "no-array-constructor": "off",
2129
- "no-unused-expressions": "off",
2130
2201
  "no-unused-vars": "off",
2131
2202
  "@typescript-eslint/no-array-constructor": "error",
2132
2203
  "@typescript-eslint/no-duplicate-enum-values": "error",
@@ -2142,11 +2213,11 @@
2142
2213
  "@typescript-eslint/prefer-as-const": "error",
2143
2214
  "@typescript-eslint/prefer-namespace-keyword": "error",
2144
2215
  "@typescript-eslint/triple-slash-reference": "error",
2145
- "@typescript-eslint/explicit-function-return-type": 0,
2146
- "@typescript-eslint/no-use-before-define": 0,
2147
- "@typescript-eslint/no-empty-function": 0,
2216
+ "@typescript-eslint/explicit-function-return-type": "off",
2217
+ "@typescript-eslint/no-use-before-define": "off",
2218
+ "@typescript-eslint/no-empty-function": "off",
2148
2219
  "@typescript-eslint/no-unused-vars": [
2149
- 2,
2220
+ "error",
2150
2221
  {
2151
2222
  "varsIgnorePattern": "^_.*$",
2152
2223
  "argsIgnorePattern": "^_.*$"
@@ -2185,34 +2256,8 @@
2185
2256
  }
2186
2257
  }
2187
2258
  ],
2188
- "@typescript-eslint/explicit-member-accessibility": "off",
2189
- "@typescript-eslint/interface-name-prefix": "off",
2190
- "@typescript-eslint/member-ordering": "off",
2191
2259
  "@typescript-eslint/no-inferrable-types": "off",
2192
2260
  "@typescript-eslint/no-non-null-assertion": "off",
2193
- "no-restricted-syntax": [
2194
- "error",
2195
- {
2196
- "selector": "MemberExpression[object.name='React']",
2197
- "message": "Do not use `React.*`. Use named imports instead."
2198
- },
2199
- {
2200
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2201
- "message": "Do not use `React.*` types. Use named imports instead."
2202
- },
2203
- {
2204
- "selector": "ExportNamespaceSpecifier",
2205
- "message": "Usage of 'export * as …' is forbidden."
2206
- },
2207
- {
2208
- "selector": "ExportAllDeclaration",
2209
- "message": "Usage of `export * from` is forbidden."
2210
- },
2211
- {
2212
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2213
- "message": "Do not use `import * as ...` from relative paths."
2214
- }
2215
- ],
2216
2261
  "@typescript-eslint/consistent-type-imports": [
2217
2262
  "error",
2218
2263
  {
@@ -7,6 +7,10 @@
7
7
  "import"
8
8
  ],
9
9
  "jsPlugins": [
10
+ {
11
+ "name": "eslint-js",
12
+ "specifier": "oxlint-plugin-eslint"
13
+ },
10
14
  {
11
15
  "name": "headers",
12
16
  "specifier": "eslint-plugin-headers"
@@ -55,7 +59,6 @@
55
59
  "no-constant-condition": "error",
56
60
  "no-control-regex": "error",
57
61
  "no-debugger": "error",
58
- "no-dupe-args": "error",
59
62
  "no-dupe-class-members": "error",
60
63
  "no-dupe-else-if": "error",
61
64
  "no-dupe-keys": "error",
@@ -76,7 +79,6 @@
76
79
  "no-new-native-nonconstructor": "error",
77
80
  "no-nonoctal-decimal-escape": "error",
78
81
  "no-obj-calls": "error",
79
- "no-octal": "error",
80
82
  "no-prototype-builtins": "error",
81
83
  "no-redeclare": "error",
82
84
  "no-regex-spaces": "error",
@@ -635,8 +637,30 @@
635
637
  }
636
638
  ],
637
639
  "no-extra-boolean-cast": "error",
638
- "no-restricted-exports": [
639
- 2,
640
+ "no-caller": "error",
641
+ "no-eval": "error",
642
+ "no-delete-var": "error",
643
+ "no-duplicate-imports": "error",
644
+ "prefer-const": "off",
645
+ "eslint-js/no-duplicate-imports": [
646
+ "error",
647
+ {
648
+ "includeExports": true
649
+ }
650
+ ],
651
+ "eslint-js/no-console": [
652
+ "error",
653
+ {
654
+ "allow": [
655
+ "warn",
656
+ "error"
657
+ ]
658
+ }
659
+ ],
660
+ "eslint-js/no-octal": "error",
661
+ "eslint-js/no-dupe-args": "error",
662
+ "eslint-js/no-restricted-exports": [
663
+ "error",
640
664
  {
641
665
  "restrictDefaultExports": {
642
666
  "direct": true,
@@ -647,12 +671,20 @@
647
671
  }
648
672
  }
649
673
  ],
650
- "no-caller": "error",
651
- "no-eval": "error",
652
- "no-delete-var": "error",
653
- "no-octal-escape": "error",
654
- "no-duplicate-imports": "error",
655
- "prefer-const": "off",
674
+ "eslint-js/no-restricted-syntax": [
675
+ "error",
676
+ {
677
+ "selector": "MemberExpression[object.name='React']",
678
+ "message": "Do not use `React.*`. Use named imports instead."
679
+ },
680
+ {
681
+ "selector": "MemberExpression[object.name='ReactDOM']",
682
+ "message": "Do not use `ReactDOM.*`. Use named imports instead."
683
+ }
684
+ ],
685
+ "eslint-js/no-negated-condition": "error",
686
+ "eslint-js/prefer-const": "off",
687
+ "eslint-js/no-octal-escape": "error",
656
688
  "headers/header-format": [
657
689
  "error",
658
690
  {
@@ -2032,10 +2064,53 @@
2032
2064
  "**/eslint.config.ts",
2033
2065
  "**/eslint.config.js",
2034
2066
  "**/vite.config.ts",
2035
- "**/vite.config.js"
2067
+ "**/vite.config.js",
2068
+ "**/vitest.config.ts",
2069
+ "**/vitest.config.js",
2070
+ "**/rolldown.config.ts",
2071
+ "**/rolldown.config.js",
2072
+ "**/playwright.config.ts",
2073
+ "**/playwright.config.js",
2074
+ "**/.dependency-cruiser.ts",
2075
+ "**/.dependency-cruiser.js",
2076
+ "**/.i18nrc.ts",
2077
+ "**/.i18nrc.js"
2036
2078
  ],
2037
2079
  "rules": {
2038
- "no-restricted-exports": "off"
2080
+ "eslint-js/no-restricted-exports": "off"
2081
+ }
2082
+ },
2083
+ {
2084
+ "files": [
2085
+ "**/*.ts",
2086
+ "**/*.tsx",
2087
+ "**/*.mts",
2088
+ "**/*.cts"
2089
+ ],
2090
+ "rules": {
2091
+ "eslint-js/no-restricted-syntax": [
2092
+ "error",
2093
+ {
2094
+ "selector": "MemberExpression[object.name='React']",
2095
+ "message": "Do not use `React.*`. Use named imports instead."
2096
+ },
2097
+ {
2098
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2099
+ "message": "Do not use `React.*` types. Use named imports instead."
2100
+ },
2101
+ {
2102
+ "selector": "ExportNamespaceSpecifier",
2103
+ "message": "Usage of 'export * as …' is forbidden."
2104
+ },
2105
+ {
2106
+ "selector": "ExportAllDeclaration",
2107
+ "message": "Usage of `export * from` is forbidden."
2108
+ },
2109
+ {
2110
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2111
+ "message": "Do not use `import * as ...` from relative paths."
2112
+ }
2113
+ ]
2039
2114
  }
2040
2115
  },
2041
2116
  {
@@ -2050,13 +2125,11 @@
2050
2125
  "getter-return": "off",
2051
2126
  "no-class-assign": "off",
2052
2127
  "no-const-assign": "off",
2053
- "no-dupe-args": "off",
2054
2128
  "no-dupe-class-members": "off",
2055
2129
  "no-dupe-keys": "off",
2056
2130
  "no-func-assign": "off",
2057
2131
  "no-import-assign": "off",
2058
2132
  "no-new-native-nonconstructor": "off",
2059
- "no-new-symbol": "off",
2060
2133
  "no-obj-calls": "off",
2061
2134
  "no-redeclare": "off",
2062
2135
  "no-setter-return": "off",
@@ -2070,7 +2143,6 @@
2070
2143
  "prefer-rest-params": "error",
2071
2144
  "prefer-spread": "error",
2072
2145
  "no-array-constructor": "off",
2073
- "no-unused-expressions": "off",
2074
2146
  "no-unused-vars": "off",
2075
2147
  "@typescript-eslint/no-array-constructor": "error",
2076
2148
  "@typescript-eslint/no-duplicate-enum-values": "error",
@@ -2086,11 +2158,11 @@
2086
2158
  "@typescript-eslint/prefer-as-const": "error",
2087
2159
  "@typescript-eslint/prefer-namespace-keyword": "error",
2088
2160
  "@typescript-eslint/triple-slash-reference": "error",
2089
- "@typescript-eslint/explicit-function-return-type": 0,
2090
- "@typescript-eslint/no-use-before-define": 0,
2091
- "@typescript-eslint/no-empty-function": 0,
2161
+ "@typescript-eslint/explicit-function-return-type": "off",
2162
+ "@typescript-eslint/no-use-before-define": "off",
2163
+ "@typescript-eslint/no-empty-function": "off",
2092
2164
  "@typescript-eslint/no-unused-vars": [
2093
- 2,
2165
+ "error",
2094
2166
  {
2095
2167
  "varsIgnorePattern": "^_.*$",
2096
2168
  "argsIgnorePattern": "^_.*$"
@@ -2129,34 +2201,8 @@
2129
2201
  }
2130
2202
  }
2131
2203
  ],
2132
- "@typescript-eslint/explicit-member-accessibility": "off",
2133
- "@typescript-eslint/interface-name-prefix": "off",
2134
- "@typescript-eslint/member-ordering": "off",
2135
2204
  "@typescript-eslint/no-inferrable-types": "off",
2136
2205
  "@typescript-eslint/no-non-null-assertion": "off",
2137
- "no-restricted-syntax": [
2138
- "error",
2139
- {
2140
- "selector": "MemberExpression[object.name='React']",
2141
- "message": "Do not use `React.*`. Use named imports instead."
2142
- },
2143
- {
2144
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2145
- "message": "Do not use `React.*` types. Use named imports instead."
2146
- },
2147
- {
2148
- "selector": "ExportNamespaceSpecifier",
2149
- "message": "Usage of 'export * as …' is forbidden."
2150
- },
2151
- {
2152
- "selector": "ExportAllDeclaration",
2153
- "message": "Usage of `export * from` is forbidden."
2154
- },
2155
- {
2156
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2157
- "message": "Do not use `import * as ...` from relative paths."
2158
- }
2159
- ],
2160
2206
  "@typescript-eslint/consistent-type-imports": [
2161
2207
  "error",
2162
2208
  {
@@ -8,6 +8,10 @@
8
8
  "vitest"
9
9
  ],
10
10
  "jsPlugins": [
11
+ {
12
+ "name": "eslint-js",
13
+ "specifier": "oxlint-plugin-eslint"
14
+ },
11
15
  {
12
16
  "name": "headers",
13
17
  "specifier": "eslint-plugin-headers"
@@ -60,7 +64,6 @@
60
64
  "no-constant-condition": "error",
61
65
  "no-control-regex": "error",
62
66
  "no-debugger": "error",
63
- "no-dupe-args": "error",
64
67
  "no-dupe-class-members": "error",
65
68
  "no-dupe-else-if": "error",
66
69
  "no-dupe-keys": "error",
@@ -81,7 +84,6 @@
81
84
  "no-new-native-nonconstructor": "error",
82
85
  "no-nonoctal-decimal-escape": "error",
83
86
  "no-obj-calls": "error",
84
- "no-octal": "error",
85
87
  "no-prototype-builtins": "error",
86
88
  "no-redeclare": "error",
87
89
  "no-regex-spaces": "error",
@@ -640,8 +642,30 @@
640
642
  }
641
643
  ],
642
644
  "no-extra-boolean-cast": "error",
643
- "no-restricted-exports": [
644
- 2,
645
+ "no-caller": "error",
646
+ "no-eval": "error",
647
+ "no-delete-var": "error",
648
+ "no-duplicate-imports": "error",
649
+ "prefer-const": "off",
650
+ "eslint-js/no-duplicate-imports": [
651
+ "error",
652
+ {
653
+ "includeExports": true
654
+ }
655
+ ],
656
+ "eslint-js/no-console": [
657
+ "error",
658
+ {
659
+ "allow": [
660
+ "warn",
661
+ "error"
662
+ ]
663
+ }
664
+ ],
665
+ "eslint-js/no-octal": "error",
666
+ "eslint-js/no-dupe-args": "error",
667
+ "eslint-js/no-restricted-exports": [
668
+ "error",
645
669
  {
646
670
  "restrictDefaultExports": {
647
671
  "direct": true,
@@ -652,12 +676,20 @@
652
676
  }
653
677
  }
654
678
  ],
655
- "no-caller": "error",
656
- "no-eval": "error",
657
- "no-delete-var": "error",
658
- "no-octal-escape": "error",
659
- "no-duplicate-imports": "error",
660
- "prefer-const": "off",
679
+ "eslint-js/no-restricted-syntax": [
680
+ "error",
681
+ {
682
+ "selector": "MemberExpression[object.name='React']",
683
+ "message": "Do not use `React.*`. Use named imports instead."
684
+ },
685
+ {
686
+ "selector": "MemberExpression[object.name='ReactDOM']",
687
+ "message": "Do not use `ReactDOM.*`. Use named imports instead."
688
+ }
689
+ ],
690
+ "eslint-js/no-negated-condition": "error",
691
+ "eslint-js/prefer-const": "off",
692
+ "eslint-js/no-octal-escape": "error",
661
693
  "headers/header-format": [
662
694
  "error",
663
695
  {
@@ -967,7 +999,6 @@
967
999
  "vitest/no-focused-tests": "warn",
968
1000
  "vitest/no-identical-title": "warn",
969
1001
  "vitest/valid-expect": "warn",
970
- "vitest/valid-expect-in-promise": "error",
971
1002
  "testing-library/await-async-queries": "error",
972
1003
  "testing-library/await-async-utils": "error",
973
1004
  "testing-library/no-await-sync-queries": "error",
@@ -2102,10 +2133,53 @@
2102
2133
  "**/eslint.config.ts",
2103
2134
  "**/eslint.config.js",
2104
2135
  "**/vite.config.ts",
2105
- "**/vite.config.js"
2136
+ "**/vite.config.js",
2137
+ "**/vitest.config.ts",
2138
+ "**/vitest.config.js",
2139
+ "**/rolldown.config.ts",
2140
+ "**/rolldown.config.js",
2141
+ "**/playwright.config.ts",
2142
+ "**/playwright.config.js",
2143
+ "**/.dependency-cruiser.ts",
2144
+ "**/.dependency-cruiser.js",
2145
+ "**/.i18nrc.ts",
2146
+ "**/.i18nrc.js"
2106
2147
  ],
2107
2148
  "rules": {
2108
- "no-restricted-exports": "off"
2149
+ "eslint-js/no-restricted-exports": "off"
2150
+ }
2151
+ },
2152
+ {
2153
+ "files": [
2154
+ "**/*.ts",
2155
+ "**/*.tsx",
2156
+ "**/*.mts",
2157
+ "**/*.cts"
2158
+ ],
2159
+ "rules": {
2160
+ "eslint-js/no-restricted-syntax": [
2161
+ "error",
2162
+ {
2163
+ "selector": "MemberExpression[object.name='React']",
2164
+ "message": "Do not use `React.*`. Use named imports instead."
2165
+ },
2166
+ {
2167
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2168
+ "message": "Do not use `React.*` types. Use named imports instead."
2169
+ },
2170
+ {
2171
+ "selector": "ExportNamespaceSpecifier",
2172
+ "message": "Usage of 'export * as …' is forbidden."
2173
+ },
2174
+ {
2175
+ "selector": "ExportAllDeclaration",
2176
+ "message": "Usage of `export * from` is forbidden."
2177
+ },
2178
+ {
2179
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2180
+ "message": "Do not use `import * as ...` from relative paths."
2181
+ }
2182
+ ]
2109
2183
  }
2110
2184
  },
2111
2185
  {
@@ -2120,13 +2194,11 @@
2120
2194
  "getter-return": "off",
2121
2195
  "no-class-assign": "off",
2122
2196
  "no-const-assign": "off",
2123
- "no-dupe-args": "off",
2124
2197
  "no-dupe-class-members": "off",
2125
2198
  "no-dupe-keys": "off",
2126
2199
  "no-func-assign": "off",
2127
2200
  "no-import-assign": "off",
2128
2201
  "no-new-native-nonconstructor": "off",
2129
- "no-new-symbol": "off",
2130
2202
  "no-obj-calls": "off",
2131
2203
  "no-redeclare": "off",
2132
2204
  "no-setter-return": "off",
@@ -2140,7 +2212,6 @@
2140
2212
  "prefer-rest-params": "error",
2141
2213
  "prefer-spread": "error",
2142
2214
  "no-array-constructor": "off",
2143
- "no-unused-expressions": "off",
2144
2215
  "no-unused-vars": "off",
2145
2216
  "@typescript-eslint/no-array-constructor": "error",
2146
2217
  "@typescript-eslint/no-duplicate-enum-values": "error",
@@ -2156,11 +2227,11 @@
2156
2227
  "@typescript-eslint/prefer-as-const": "error",
2157
2228
  "@typescript-eslint/prefer-namespace-keyword": "error",
2158
2229
  "@typescript-eslint/triple-slash-reference": "error",
2159
- "@typescript-eslint/explicit-function-return-type": 0,
2160
- "@typescript-eslint/no-use-before-define": 0,
2161
- "@typescript-eslint/no-empty-function": 0,
2230
+ "@typescript-eslint/explicit-function-return-type": "off",
2231
+ "@typescript-eslint/no-use-before-define": "off",
2232
+ "@typescript-eslint/no-empty-function": "off",
2162
2233
  "@typescript-eslint/no-unused-vars": [
2163
- 2,
2234
+ "error",
2164
2235
  {
2165
2236
  "varsIgnorePattern": "^_.*$",
2166
2237
  "argsIgnorePattern": "^_.*$"
@@ -2199,34 +2270,8 @@
2199
2270
  }
2200
2271
  }
2201
2272
  ],
2202
- "@typescript-eslint/explicit-member-accessibility": "off",
2203
- "@typescript-eslint/interface-name-prefix": "off",
2204
- "@typescript-eslint/member-ordering": "off",
2205
2273
  "@typescript-eslint/no-inferrable-types": "off",
2206
2274
  "@typescript-eslint/no-non-null-assertion": "off",
2207
- "no-restricted-syntax": [
2208
- "error",
2209
- {
2210
- "selector": "MemberExpression[object.name='React']",
2211
- "message": "Do not use `React.*`. Use named imports instead."
2212
- },
2213
- {
2214
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2215
- "message": "Do not use `React.*` types. Use named imports instead."
2216
- },
2217
- {
2218
- "selector": "ExportNamespaceSpecifier",
2219
- "message": "Usage of 'export * as …' is forbidden."
2220
- },
2221
- {
2222
- "selector": "ExportAllDeclaration",
2223
- "message": "Usage of `export * from` is forbidden."
2224
- },
2225
- {
2226
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2227
- "message": "Do not use `import * as ...` from relative paths."
2228
- }
2229
- ],
2230
2275
  "@typescript-eslint/consistent-type-imports": [
2231
2276
  "error",
2232
2277
  {