@gooddata/eslint-config 11.57.0-alpha.1 → 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.
Files changed (47) hide show
  1. package/PACKAGES_V9_OXLINT.md +0 -1
  2. package/dist/base.js +46 -34
  3. package/dist/base.json +46 -34
  4. package/dist/browser-esm.js +46 -34
  5. package/dist/browser-esm.json +46 -34
  6. package/dist/esm-playwright.js +46 -35
  7. package/dist/esm-playwright.json +46 -35
  8. package/dist/esm-react-playwright.js +46 -35
  9. package/dist/esm-react-playwright.json +46 -35
  10. package/dist/esm-react-storybook.js +46 -34
  11. package/dist/esm-react-storybook.json +46 -34
  12. package/dist/esm-react-vitest-rtl.js +46 -34
  13. package/dist/esm-react-vitest-rtl.json +46 -34
  14. package/dist/esm-react-vitest.js +46 -34
  15. package/dist/esm-react-vitest.json +46 -34
  16. package/dist/esm-react.js +46 -34
  17. package/dist/esm-react.json +46 -34
  18. package/dist/esm-vitest-rtl.js +46 -34
  19. package/dist/esm-vitest-rtl.json +46 -34
  20. package/dist/esm-vitest.js +46 -34
  21. package/dist/esm-vitest.json +46 -34
  22. package/dist/esm.js +46 -34
  23. package/dist/esm.json +46 -34
  24. package/dist/oxlint-base.js +2 -1135
  25. package/dist/oxlint-browser-esm.js +2 -1135
  26. package/dist/oxlint-esm-playwright.js +2 -1135
  27. package/dist/oxlint-esm-react-playwright.js +2 -1135
  28. package/dist/oxlint-esm-react-storybook.js +2 -1135
  29. package/dist/oxlint-esm-react-vitest-rtl.js +2 -1135
  30. package/dist/oxlint-esm-react-vitest.js +2 -1135
  31. package/dist/oxlint-esm-react.js +2 -1135
  32. package/dist/oxlint-esm-vitest-rtl.js +2 -1135
  33. package/dist/oxlint-esm-vitest.js +2 -1135
  34. package/dist/oxlint-esm.js +2 -1135
  35. package/dist/oxlint-react-playwright.js +2 -1135
  36. package/dist/oxlint-react-vitest-rtl.js +2 -1135
  37. package/dist/oxlint-react-vitest.js +2 -1135
  38. package/dist/oxlint-react.js +2 -1135
  39. package/dist/react-playwright.js +46 -35
  40. package/dist/react-playwright.json +46 -35
  41. package/dist/react-vitest-rtl.js +46 -34
  42. package/dist/react-vitest-rtl.json +46 -34
  43. package/dist/react-vitest.js +46 -34
  44. package/dist/react-vitest.json +46 -34
  45. package/dist/react.js +46 -34
  46. package/dist/react.json +46 -34
  47. package/package.json +2 -3
@@ -969,7 +969,6 @@
969
969
  "playwright/valid-expect-in-promise": "error",
970
970
  "playwright/valid-test-tags": "error",
971
971
  "playwright/valid-title": "error",
972
- "no-unused-expressions": "off",
973
972
  "chai-friendly/no-unused-expressions": "error",
974
973
  "no-only-tests/no-only-tests": [
975
974
  "error",
@@ -2062,13 +2061,52 @@
2062
2061
  "**/vite.config.js",
2063
2062
  "**/vitest.config.ts",
2064
2063
  "**/vitest.config.js",
2064
+ "**/rolldown.config.ts",
2065
+ "**/rolldown.config.js",
2066
+ "**/playwright.config.ts",
2067
+ "**/playwright.config.js",
2068
+ "**/.dependency-cruiser.ts",
2065
2069
  "**/.dependency-cruiser.js",
2066
- "**/.dependency-cruiser.js"
2070
+ "**/.i18nrc.ts",
2071
+ "**/.i18nrc.js"
2067
2072
  ],
2068
2073
  "rules": {
2069
2074
  "no-restricted-exports": "off"
2070
2075
  }
2071
2076
  },
2077
+ {
2078
+ "files": [
2079
+ "**/*.ts",
2080
+ "**/*.tsx",
2081
+ "**/*.mts",
2082
+ "**/*.cts"
2083
+ ],
2084
+ "rules": {
2085
+ "no-restricted-syntax": [
2086
+ "error",
2087
+ {
2088
+ "selector": "MemberExpression[object.name='React']",
2089
+ "message": "Do not use `React.*`. Use named imports instead."
2090
+ },
2091
+ {
2092
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2093
+ "message": "Do not use `React.*` types. Use named imports instead."
2094
+ },
2095
+ {
2096
+ "selector": "ExportNamespaceSpecifier",
2097
+ "message": "Usage of 'export * as …' is forbidden."
2098
+ },
2099
+ {
2100
+ "selector": "ExportAllDeclaration",
2101
+ "message": "Usage of `export * from` is forbidden."
2102
+ },
2103
+ {
2104
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2105
+ "message": "Do not use `import * as ...` from relative paths."
2106
+ }
2107
+ ]
2108
+ }
2109
+ },
2072
2110
  {
2073
2111
  "files": [
2074
2112
  "**/*.ts",
@@ -2081,13 +2119,11 @@
2081
2119
  "getter-return": "off",
2082
2120
  "no-class-assign": "off",
2083
2121
  "no-const-assign": "off",
2084
- "no-dupe-args": "off",
2085
2122
  "no-dupe-class-members": "off",
2086
2123
  "no-dupe-keys": "off",
2087
2124
  "no-func-assign": "off",
2088
2125
  "no-import-assign": "off",
2089
2126
  "no-new-native-nonconstructor": "off",
2090
- "no-new-symbol": "off",
2091
2127
  "no-obj-calls": "off",
2092
2128
  "no-redeclare": "off",
2093
2129
  "no-setter-return": "off",
@@ -2101,8 +2137,9 @@
2101
2137
  "prefer-rest-params": "error",
2102
2138
  "prefer-spread": "error",
2103
2139
  "no-array-constructor": "off",
2104
- "no-unused-expressions": "off",
2105
2140
  "no-unused-vars": "off",
2141
+ "no-dupe-args": "off",
2142
+ "no-new-symbol": "off",
2106
2143
  "@typescript-eslint/no-array-constructor": "error",
2107
2144
  "@typescript-eslint/no-duplicate-enum-values": "error",
2108
2145
  "@typescript-eslint/no-empty-object-type": "error",
@@ -2117,11 +2154,11 @@
2117
2154
  "@typescript-eslint/prefer-as-const": "error",
2118
2155
  "@typescript-eslint/prefer-namespace-keyword": "error",
2119
2156
  "@typescript-eslint/triple-slash-reference": "error",
2120
- "@typescript-eslint/explicit-function-return-type": 0,
2121
- "@typescript-eslint/no-use-before-define": 0,
2122
- "@typescript-eslint/no-empty-function": 0,
2157
+ "@typescript-eslint/explicit-function-return-type": "off",
2158
+ "@typescript-eslint/no-use-before-define": "off",
2159
+ "@typescript-eslint/no-empty-function": "off",
2123
2160
  "@typescript-eslint/no-unused-vars": [
2124
- 2,
2161
+ "error",
2125
2162
  {
2126
2163
  "varsIgnorePattern": "^_.*$",
2127
2164
  "argsIgnorePattern": "^_.*$"
@@ -2160,34 +2197,8 @@
2160
2197
  }
2161
2198
  }
2162
2199
  ],
2163
- "@typescript-eslint/explicit-member-accessibility": "off",
2164
- "@typescript-eslint/interface-name-prefix": "off",
2165
- "@typescript-eslint/member-ordering": "off",
2166
2200
  "@typescript-eslint/no-inferrable-types": "off",
2167
2201
  "@typescript-eslint/no-non-null-assertion": "off",
2168
- "no-restricted-syntax": [
2169
- "error",
2170
- {
2171
- "selector": "MemberExpression[object.name='React']",
2172
- "message": "Do not use `React.*`. Use named imports instead."
2173
- },
2174
- {
2175
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2176
- "message": "Do not use `React.*` types. Use named imports instead."
2177
- },
2178
- {
2179
- "selector": "ExportNamespaceSpecifier",
2180
- "message": "Usage of 'export * as …' is forbidden."
2181
- },
2182
- {
2183
- "selector": "ExportAllDeclaration",
2184
- "message": "Usage of `export * from` is forbidden."
2185
- },
2186
- {
2187
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2188
- "message": "Do not use `import * as ...` from relative paths."
2189
- }
2190
- ],
2191
2202
  "@typescript-eslint/consistent-type-imports": [
2192
2203
  "error",
2193
2204
  {
@@ -1740,13 +1740,52 @@ export default [
1740
1740
  "**/vite.config.js",
1741
1741
  "**/vitest.config.ts",
1742
1742
  "**/vitest.config.js",
1743
+ "**/rolldown.config.ts",
1744
+ "**/rolldown.config.js",
1745
+ "**/playwright.config.ts",
1746
+ "**/playwright.config.js",
1747
+ "**/.dependency-cruiser.ts",
1743
1748
  "**/.dependency-cruiser.js",
1744
- "**/.dependency-cruiser.js",
1749
+ "**/.i18nrc.ts",
1750
+ "**/.i18nrc.js",
1745
1751
  ],
1746
1752
  rules: {
1747
1753
  "no-restricted-exports": "off",
1748
1754
  },
1749
1755
  },
1756
+ {
1757
+ files: [
1758
+ "**/*.ts",
1759
+ "**/*.tsx",
1760
+ "**/*.mts",
1761
+ "**/*.cts",
1762
+ ],
1763
+ rules: {
1764
+ "no-restricted-syntax": [
1765
+ "error",
1766
+ {
1767
+ selector: "MemberExpression[object.name='React']",
1768
+ message: "Do not use `React.*`. Use named imports instead.",
1769
+ },
1770
+ {
1771
+ selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1772
+ message: "Do not use `React.*` types. Use named imports instead.",
1773
+ },
1774
+ {
1775
+ selector: "ExportNamespaceSpecifier",
1776
+ message: "Usage of 'export * as …' is forbidden.",
1777
+ },
1778
+ {
1779
+ selector: "ExportAllDeclaration",
1780
+ message: "Usage of `export * from` is forbidden.",
1781
+ },
1782
+ {
1783
+ selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1784
+ message: "Do not use `import * as ...` from relative paths.",
1785
+ },
1786
+ ],
1787
+ },
1788
+ },
1750
1789
  {
1751
1790
  plugins: {
1752
1791
  headers: plugin0001,
@@ -1794,13 +1833,11 @@ export default [
1794
1833
  "getter-return": "off",
1795
1834
  "no-class-assign": "off",
1796
1835
  "no-const-assign": "off",
1797
- "no-dupe-args": "off",
1798
1836
  "no-dupe-class-members": "off",
1799
1837
  "no-dupe-keys": "off",
1800
1838
  "no-func-assign": "off",
1801
1839
  "no-import-assign": "off",
1802
1840
  "no-new-native-nonconstructor": "off",
1803
- "no-new-symbol": "off",
1804
1841
  "no-obj-calls": "off",
1805
1842
  "no-redeclare": "off",
1806
1843
  "no-setter-return": "off",
@@ -1814,8 +1851,9 @@ export default [
1814
1851
  "prefer-rest-params": "error",
1815
1852
  "prefer-spread": "error",
1816
1853
  "no-array-constructor": "off",
1817
- "no-unused-expressions": "off",
1818
1854
  "no-unused-vars": "off",
1855
+ "no-dupe-args": "off",
1856
+ "no-new-symbol": "off",
1819
1857
  "@typescript-eslint/no-array-constructor": "error",
1820
1858
  "@typescript-eslint/no-duplicate-enum-values": "error",
1821
1859
  "@typescript-eslint/no-empty-object-type": "error",
@@ -1830,11 +1868,11 @@ export default [
1830
1868
  "@typescript-eslint/prefer-as-const": "error",
1831
1869
  "@typescript-eslint/prefer-namespace-keyword": "error",
1832
1870
  "@typescript-eslint/triple-slash-reference": "error",
1833
- "@typescript-eslint/explicit-function-return-type": 0,
1834
- "@typescript-eslint/no-use-before-define": 0,
1835
- "@typescript-eslint/no-empty-function": 0,
1871
+ "@typescript-eslint/explicit-function-return-type": "off",
1872
+ "@typescript-eslint/no-use-before-define": "off",
1873
+ "@typescript-eslint/no-empty-function": "off",
1836
1874
  "@typescript-eslint/no-unused-vars": [
1837
- 2,
1875
+ "error",
1838
1876
  {
1839
1877
  varsIgnorePattern: "^_.*$",
1840
1878
  argsIgnorePattern: "^_.*$",
@@ -1873,34 +1911,8 @@ export default [
1873
1911
  },
1874
1912
  },
1875
1913
  ],
1876
- "@typescript-eslint/explicit-member-accessibility": "off",
1877
- "@typescript-eslint/interface-name-prefix": "off",
1878
- "@typescript-eslint/member-ordering": "off",
1879
1914
  "@typescript-eslint/no-inferrable-types": "off",
1880
1915
  "@typescript-eslint/no-non-null-assertion": "off",
1881
- "no-restricted-syntax": [
1882
- "error",
1883
- {
1884
- selector: "MemberExpression[object.name='React']",
1885
- message: "Do not use `React.*`. Use named imports instead.",
1886
- },
1887
- {
1888
- selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1889
- message: "Do not use `React.*` types. Use named imports instead.",
1890
- },
1891
- {
1892
- selector: "ExportNamespaceSpecifier",
1893
- message: "Usage of 'export * as …' is forbidden.",
1894
- },
1895
- {
1896
- selector: "ExportAllDeclaration",
1897
- message: "Usage of `export * from` is forbidden.",
1898
- },
1899
- {
1900
- selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1901
- message: "Do not use `import * as ...` from relative paths.",
1902
- },
1903
- ],
1904
1916
  "@typescript-eslint/consistent-type-imports": [
1905
1917
  "error",
1906
1918
  {
@@ -2430,7 +2442,6 @@ export default [
2430
2442
  "chai-friendly": plugin0012,
2431
2443
  },
2432
2444
  rules: {
2433
- "no-unused-expressions": "off",
2434
2445
  "chai-friendly/no-unused-expressions": "error",
2435
2446
  },
2436
2447
  },
@@ -996,7 +996,6 @@
996
996
  "playwright/valid-expect-in-promise": "error",
997
997
  "playwright/valid-test-tags": "error",
998
998
  "playwright/valid-title": "error",
999
- "no-unused-expressions": "off",
1000
999
  "chai-friendly/no-unused-expressions": "error",
1001
1000
  "no-only-tests/no-only-tests": [
1002
1001
  "error",
@@ -2089,13 +2088,52 @@
2089
2088
  "**/vite.config.js",
2090
2089
  "**/vitest.config.ts",
2091
2090
  "**/vitest.config.js",
2091
+ "**/rolldown.config.ts",
2092
+ "**/rolldown.config.js",
2093
+ "**/playwright.config.ts",
2094
+ "**/playwright.config.js",
2095
+ "**/.dependency-cruiser.ts",
2092
2096
  "**/.dependency-cruiser.js",
2093
- "**/.dependency-cruiser.js"
2097
+ "**/.i18nrc.ts",
2098
+ "**/.i18nrc.js"
2094
2099
  ],
2095
2100
  "rules": {
2096
2101
  "no-restricted-exports": "off"
2097
2102
  }
2098
2103
  },
2104
+ {
2105
+ "files": [
2106
+ "**/*.ts",
2107
+ "**/*.tsx",
2108
+ "**/*.mts",
2109
+ "**/*.cts"
2110
+ ],
2111
+ "rules": {
2112
+ "no-restricted-syntax": [
2113
+ "error",
2114
+ {
2115
+ "selector": "MemberExpression[object.name='React']",
2116
+ "message": "Do not use `React.*`. Use named imports instead."
2117
+ },
2118
+ {
2119
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2120
+ "message": "Do not use `React.*` types. Use named imports instead."
2121
+ },
2122
+ {
2123
+ "selector": "ExportNamespaceSpecifier",
2124
+ "message": "Usage of 'export * as …' is forbidden."
2125
+ },
2126
+ {
2127
+ "selector": "ExportAllDeclaration",
2128
+ "message": "Usage of `export * from` is forbidden."
2129
+ },
2130
+ {
2131
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2132
+ "message": "Do not use `import * as ...` from relative paths."
2133
+ }
2134
+ ]
2135
+ }
2136
+ },
2099
2137
  {
2100
2138
  "files": [
2101
2139
  "**/*.ts",
@@ -2108,13 +2146,11 @@
2108
2146
  "getter-return": "off",
2109
2147
  "no-class-assign": "off",
2110
2148
  "no-const-assign": "off",
2111
- "no-dupe-args": "off",
2112
2149
  "no-dupe-class-members": "off",
2113
2150
  "no-dupe-keys": "off",
2114
2151
  "no-func-assign": "off",
2115
2152
  "no-import-assign": "off",
2116
2153
  "no-new-native-nonconstructor": "off",
2117
- "no-new-symbol": "off",
2118
2154
  "no-obj-calls": "off",
2119
2155
  "no-redeclare": "off",
2120
2156
  "no-setter-return": "off",
@@ -2128,8 +2164,9 @@
2128
2164
  "prefer-rest-params": "error",
2129
2165
  "prefer-spread": "error",
2130
2166
  "no-array-constructor": "off",
2131
- "no-unused-expressions": "off",
2132
2167
  "no-unused-vars": "off",
2168
+ "no-dupe-args": "off",
2169
+ "no-new-symbol": "off",
2133
2170
  "@typescript-eslint/no-array-constructor": "error",
2134
2171
  "@typescript-eslint/no-duplicate-enum-values": "error",
2135
2172
  "@typescript-eslint/no-empty-object-type": "error",
@@ -2144,11 +2181,11 @@
2144
2181
  "@typescript-eslint/prefer-as-const": "error",
2145
2182
  "@typescript-eslint/prefer-namespace-keyword": "error",
2146
2183
  "@typescript-eslint/triple-slash-reference": "error",
2147
- "@typescript-eslint/explicit-function-return-type": 0,
2148
- "@typescript-eslint/no-use-before-define": 0,
2149
- "@typescript-eslint/no-empty-function": 0,
2184
+ "@typescript-eslint/explicit-function-return-type": "off",
2185
+ "@typescript-eslint/no-use-before-define": "off",
2186
+ "@typescript-eslint/no-empty-function": "off",
2150
2187
  "@typescript-eslint/no-unused-vars": [
2151
- 2,
2188
+ "error",
2152
2189
  {
2153
2190
  "varsIgnorePattern": "^_.*$",
2154
2191
  "argsIgnorePattern": "^_.*$"
@@ -2187,34 +2224,8 @@
2187
2224
  }
2188
2225
  }
2189
2226
  ],
2190
- "@typescript-eslint/explicit-member-accessibility": "off",
2191
- "@typescript-eslint/interface-name-prefix": "off",
2192
- "@typescript-eslint/member-ordering": "off",
2193
2227
  "@typescript-eslint/no-inferrable-types": "off",
2194
2228
  "@typescript-eslint/no-non-null-assertion": "off",
2195
- "no-restricted-syntax": [
2196
- "error",
2197
- {
2198
- "selector": "MemberExpression[object.name='React']",
2199
- "message": "Do not use `React.*`. Use named imports instead."
2200
- },
2201
- {
2202
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2203
- "message": "Do not use `React.*` types. Use named imports instead."
2204
- },
2205
- {
2206
- "selector": "ExportNamespaceSpecifier",
2207
- "message": "Usage of 'export * as …' is forbidden."
2208
- },
2209
- {
2210
- "selector": "ExportAllDeclaration",
2211
- "message": "Usage of `export * from` is forbidden."
2212
- },
2213
- {
2214
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2215
- "message": "Do not use `import * as ...` from relative paths."
2216
- }
2217
- ],
2218
2229
  "@typescript-eslint/consistent-type-imports": [
2219
2230
  "error",
2220
2231
  {
@@ -1738,13 +1738,52 @@ export default [
1738
1738
  "**/vite.config.js",
1739
1739
  "**/vitest.config.ts",
1740
1740
  "**/vitest.config.js",
1741
+ "**/rolldown.config.ts",
1742
+ "**/rolldown.config.js",
1743
+ "**/playwright.config.ts",
1744
+ "**/playwright.config.js",
1745
+ "**/.dependency-cruiser.ts",
1741
1746
  "**/.dependency-cruiser.js",
1742
- "**/.dependency-cruiser.js",
1747
+ "**/.i18nrc.ts",
1748
+ "**/.i18nrc.js",
1743
1749
  ],
1744
1750
  rules: {
1745
1751
  "no-restricted-exports": "off",
1746
1752
  },
1747
1753
  },
1754
+ {
1755
+ files: [
1756
+ "**/*.ts",
1757
+ "**/*.tsx",
1758
+ "**/*.mts",
1759
+ "**/*.cts",
1760
+ ],
1761
+ rules: {
1762
+ "no-restricted-syntax": [
1763
+ "error",
1764
+ {
1765
+ selector: "MemberExpression[object.name='React']",
1766
+ message: "Do not use `React.*`. Use named imports instead.",
1767
+ },
1768
+ {
1769
+ selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1770
+ message: "Do not use `React.*` types. Use named imports instead.",
1771
+ },
1772
+ {
1773
+ selector: "ExportNamespaceSpecifier",
1774
+ message: "Usage of 'export * as …' is forbidden.",
1775
+ },
1776
+ {
1777
+ selector: "ExportAllDeclaration",
1778
+ message: "Usage of `export * from` is forbidden.",
1779
+ },
1780
+ {
1781
+ selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1782
+ message: "Do not use `import * as ...` from relative paths.",
1783
+ },
1784
+ ],
1785
+ },
1786
+ },
1748
1787
  {
1749
1788
  plugins: {
1750
1789
  headers: plugin0001,
@@ -1792,13 +1831,11 @@ export default [
1792
1831
  "getter-return": "off",
1793
1832
  "no-class-assign": "off",
1794
1833
  "no-const-assign": "off",
1795
- "no-dupe-args": "off",
1796
1834
  "no-dupe-class-members": "off",
1797
1835
  "no-dupe-keys": "off",
1798
1836
  "no-func-assign": "off",
1799
1837
  "no-import-assign": "off",
1800
1838
  "no-new-native-nonconstructor": "off",
1801
- "no-new-symbol": "off",
1802
1839
  "no-obj-calls": "off",
1803
1840
  "no-redeclare": "off",
1804
1841
  "no-setter-return": "off",
@@ -1812,8 +1849,9 @@ export default [
1812
1849
  "prefer-rest-params": "error",
1813
1850
  "prefer-spread": "error",
1814
1851
  "no-array-constructor": "off",
1815
- "no-unused-expressions": "off",
1816
1852
  "no-unused-vars": "off",
1853
+ "no-dupe-args": "off",
1854
+ "no-new-symbol": "off",
1817
1855
  "@typescript-eslint/no-array-constructor": "error",
1818
1856
  "@typescript-eslint/no-duplicate-enum-values": "error",
1819
1857
  "@typescript-eslint/no-empty-object-type": "error",
@@ -1828,11 +1866,11 @@ export default [
1828
1866
  "@typescript-eslint/prefer-as-const": "error",
1829
1867
  "@typescript-eslint/prefer-namespace-keyword": "error",
1830
1868
  "@typescript-eslint/triple-slash-reference": "error",
1831
- "@typescript-eslint/explicit-function-return-type": 0,
1832
- "@typescript-eslint/no-use-before-define": 0,
1833
- "@typescript-eslint/no-empty-function": 0,
1869
+ "@typescript-eslint/explicit-function-return-type": "off",
1870
+ "@typescript-eslint/no-use-before-define": "off",
1871
+ "@typescript-eslint/no-empty-function": "off",
1834
1872
  "@typescript-eslint/no-unused-vars": [
1835
- 2,
1873
+ "error",
1836
1874
  {
1837
1875
  varsIgnorePattern: "^_.*$",
1838
1876
  argsIgnorePattern: "^_.*$",
@@ -1871,34 +1909,8 @@ export default [
1871
1909
  },
1872
1910
  },
1873
1911
  ],
1874
- "@typescript-eslint/explicit-member-accessibility": "off",
1875
- "@typescript-eslint/interface-name-prefix": "off",
1876
- "@typescript-eslint/member-ordering": "off",
1877
1912
  "@typescript-eslint/no-inferrable-types": "off",
1878
1913
  "@typescript-eslint/no-non-null-assertion": "off",
1879
- "no-restricted-syntax": [
1880
- "error",
1881
- {
1882
- selector: "MemberExpression[object.name='React']",
1883
- message: "Do not use `React.*`. Use named imports instead.",
1884
- },
1885
- {
1886
- selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1887
- message: "Do not use `React.*` types. Use named imports instead.",
1888
- },
1889
- {
1890
- selector: "ExportNamespaceSpecifier",
1891
- message: "Usage of 'export * as …' is forbidden.",
1892
- },
1893
- {
1894
- selector: "ExportAllDeclaration",
1895
- message: "Usage of `export * from` is forbidden.",
1896
- },
1897
- {
1898
- selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1899
- message: "Do not use `import * as ...` from relative paths.",
1900
- },
1901
- ],
1902
1914
  "@typescript-eslint/consistent-type-imports": [
1903
1915
  "error",
1904
1916
  {