@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
@@ -2039,13 +2039,52 @@
2039
2039
  "**/vite.config.js",
2040
2040
  "**/vitest.config.ts",
2041
2041
  "**/vitest.config.js",
2042
+ "**/rolldown.config.ts",
2043
+ "**/rolldown.config.js",
2044
+ "**/playwright.config.ts",
2045
+ "**/playwright.config.js",
2046
+ "**/.dependency-cruiser.ts",
2042
2047
  "**/.dependency-cruiser.js",
2043
- "**/.dependency-cruiser.js"
2048
+ "**/.i18nrc.ts",
2049
+ "**/.i18nrc.js"
2044
2050
  ],
2045
2051
  "rules": {
2046
2052
  "no-restricted-exports": "off"
2047
2053
  }
2048
2054
  },
2055
+ {
2056
+ "files": [
2057
+ "**/*.ts",
2058
+ "**/*.tsx",
2059
+ "**/*.mts",
2060
+ "**/*.cts"
2061
+ ],
2062
+ "rules": {
2063
+ "no-restricted-syntax": [
2064
+ "error",
2065
+ {
2066
+ "selector": "MemberExpression[object.name='React']",
2067
+ "message": "Do not use `React.*`. Use named imports instead."
2068
+ },
2069
+ {
2070
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2071
+ "message": "Do not use `React.*` types. Use named imports instead."
2072
+ },
2073
+ {
2074
+ "selector": "ExportNamespaceSpecifier",
2075
+ "message": "Usage of 'export * as …' is forbidden."
2076
+ },
2077
+ {
2078
+ "selector": "ExportAllDeclaration",
2079
+ "message": "Usage of `export * from` is forbidden."
2080
+ },
2081
+ {
2082
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2083
+ "message": "Do not use `import * as ...` from relative paths."
2084
+ }
2085
+ ]
2086
+ }
2087
+ },
2049
2088
  {
2050
2089
  "files": [
2051
2090
  "**/*.ts",
@@ -2058,13 +2097,11 @@
2058
2097
  "getter-return": "off",
2059
2098
  "no-class-assign": "off",
2060
2099
  "no-const-assign": "off",
2061
- "no-dupe-args": "off",
2062
2100
  "no-dupe-class-members": "off",
2063
2101
  "no-dupe-keys": "off",
2064
2102
  "no-func-assign": "off",
2065
2103
  "no-import-assign": "off",
2066
2104
  "no-new-native-nonconstructor": "off",
2067
- "no-new-symbol": "off",
2068
2105
  "no-obj-calls": "off",
2069
2106
  "no-redeclare": "off",
2070
2107
  "no-setter-return": "off",
@@ -2078,8 +2115,9 @@
2078
2115
  "prefer-rest-params": "error",
2079
2116
  "prefer-spread": "error",
2080
2117
  "no-array-constructor": "off",
2081
- "no-unused-expressions": "off",
2082
2118
  "no-unused-vars": "off",
2119
+ "no-dupe-args": "off",
2120
+ "no-new-symbol": "off",
2083
2121
  "@typescript-eslint/no-array-constructor": "error",
2084
2122
  "@typescript-eslint/no-duplicate-enum-values": "error",
2085
2123
  "@typescript-eslint/no-empty-object-type": "error",
@@ -2094,11 +2132,11 @@
2094
2132
  "@typescript-eslint/prefer-as-const": "error",
2095
2133
  "@typescript-eslint/prefer-namespace-keyword": "error",
2096
2134
  "@typescript-eslint/triple-slash-reference": "error",
2097
- "@typescript-eslint/explicit-function-return-type": 0,
2098
- "@typescript-eslint/no-use-before-define": 0,
2099
- "@typescript-eslint/no-empty-function": 0,
2135
+ "@typescript-eslint/explicit-function-return-type": "off",
2136
+ "@typescript-eslint/no-use-before-define": "off",
2137
+ "@typescript-eslint/no-empty-function": "off",
2100
2138
  "@typescript-eslint/no-unused-vars": [
2101
- 2,
2139
+ "error",
2102
2140
  {
2103
2141
  "varsIgnorePattern": "^_.*$",
2104
2142
  "argsIgnorePattern": "^_.*$"
@@ -2137,34 +2175,8 @@
2137
2175
  }
2138
2176
  }
2139
2177
  ],
2140
- "@typescript-eslint/explicit-member-accessibility": "off",
2141
- "@typescript-eslint/interface-name-prefix": "off",
2142
- "@typescript-eslint/member-ordering": "off",
2143
2178
  "@typescript-eslint/no-inferrable-types": "off",
2144
2179
  "@typescript-eslint/no-non-null-assertion": "off",
2145
- "no-restricted-syntax": [
2146
- "error",
2147
- {
2148
- "selector": "MemberExpression[object.name='React']",
2149
- "message": "Do not use `React.*`. Use named imports instead."
2150
- },
2151
- {
2152
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2153
- "message": "Do not use `React.*` types. Use named imports instead."
2154
- },
2155
- {
2156
- "selector": "ExportNamespaceSpecifier",
2157
- "message": "Usage of 'export * as …' is forbidden."
2158
- },
2159
- {
2160
- "selector": "ExportAllDeclaration",
2161
- "message": "Usage of `export * from` is forbidden."
2162
- },
2163
- {
2164
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2165
- "message": "Do not use `import * as ...` from relative paths."
2166
- }
2167
- ],
2168
2180
  "@typescript-eslint/consistent-type-imports": [
2169
2181
  "error",
2170
2182
  {
@@ -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
  {
@@ -2105,13 +2105,52 @@
2105
2105
  "**/vite.config.js",
2106
2106
  "**/vitest.config.ts",
2107
2107
  "**/vitest.config.js",
2108
+ "**/rolldown.config.ts",
2109
+ "**/rolldown.config.js",
2110
+ "**/playwright.config.ts",
2111
+ "**/playwright.config.js",
2112
+ "**/.dependency-cruiser.ts",
2108
2113
  "**/.dependency-cruiser.js",
2109
- "**/.dependency-cruiser.js"
2114
+ "**/.i18nrc.ts",
2115
+ "**/.i18nrc.js"
2110
2116
  ],
2111
2117
  "rules": {
2112
2118
  "no-restricted-exports": "off"
2113
2119
  }
2114
2120
  },
2121
+ {
2122
+ "files": [
2123
+ "**/*.ts",
2124
+ "**/*.tsx",
2125
+ "**/*.mts",
2126
+ "**/*.cts"
2127
+ ],
2128
+ "rules": {
2129
+ "no-restricted-syntax": [
2130
+ "error",
2131
+ {
2132
+ "selector": "MemberExpression[object.name='React']",
2133
+ "message": "Do not use `React.*`. Use named imports instead."
2134
+ },
2135
+ {
2136
+ "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2137
+ "message": "Do not use `React.*` types. Use named imports instead."
2138
+ },
2139
+ {
2140
+ "selector": "ExportNamespaceSpecifier",
2141
+ "message": "Usage of 'export * as …' is forbidden."
2142
+ },
2143
+ {
2144
+ "selector": "ExportAllDeclaration",
2145
+ "message": "Usage of `export * from` is forbidden."
2146
+ },
2147
+ {
2148
+ "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2149
+ "message": "Do not use `import * as ...` from relative paths."
2150
+ }
2151
+ ]
2152
+ }
2153
+ },
2115
2154
  {
2116
2155
  "files": [
2117
2156
  "**/*.ts",
@@ -2124,13 +2163,11 @@
2124
2163
  "getter-return": "off",
2125
2164
  "no-class-assign": "off",
2126
2165
  "no-const-assign": "off",
2127
- "no-dupe-args": "off",
2128
2166
  "no-dupe-class-members": "off",
2129
2167
  "no-dupe-keys": "off",
2130
2168
  "no-func-assign": "off",
2131
2169
  "no-import-assign": "off",
2132
2170
  "no-new-native-nonconstructor": "off",
2133
- "no-new-symbol": "off",
2134
2171
  "no-obj-calls": "off",
2135
2172
  "no-redeclare": "off",
2136
2173
  "no-setter-return": "off",
@@ -2144,8 +2181,9 @@
2144
2181
  "prefer-rest-params": "error",
2145
2182
  "prefer-spread": "error",
2146
2183
  "no-array-constructor": "off",
2147
- "no-unused-expressions": "off",
2148
2184
  "no-unused-vars": "off",
2185
+ "no-dupe-args": "off",
2186
+ "no-new-symbol": "off",
2149
2187
  "@typescript-eslint/no-array-constructor": "error",
2150
2188
  "@typescript-eslint/no-duplicate-enum-values": "error",
2151
2189
  "@typescript-eslint/no-empty-object-type": "error",
@@ -2160,11 +2198,11 @@
2160
2198
  "@typescript-eslint/prefer-as-const": "error",
2161
2199
  "@typescript-eslint/prefer-namespace-keyword": "error",
2162
2200
  "@typescript-eslint/triple-slash-reference": "error",
2163
- "@typescript-eslint/explicit-function-return-type": 0,
2164
- "@typescript-eslint/no-use-before-define": 0,
2165
- "@typescript-eslint/no-empty-function": 0,
2201
+ "@typescript-eslint/explicit-function-return-type": "off",
2202
+ "@typescript-eslint/no-use-before-define": "off",
2203
+ "@typescript-eslint/no-empty-function": "off",
2166
2204
  "@typescript-eslint/no-unused-vars": [
2167
- 2,
2205
+ "error",
2168
2206
  {
2169
2207
  "varsIgnorePattern": "^_.*$",
2170
2208
  "argsIgnorePattern": "^_.*$"
@@ -2203,34 +2241,8 @@
2203
2241
  }
2204
2242
  }
2205
2243
  ],
2206
- "@typescript-eslint/explicit-member-accessibility": "off",
2207
- "@typescript-eslint/interface-name-prefix": "off",
2208
- "@typescript-eslint/member-ordering": "off",
2209
2244
  "@typescript-eslint/no-inferrable-types": "off",
2210
2245
  "@typescript-eslint/no-non-null-assertion": "off",
2211
- "no-restricted-syntax": [
2212
- "error",
2213
- {
2214
- "selector": "MemberExpression[object.name='React']",
2215
- "message": "Do not use `React.*`. Use named imports instead."
2216
- },
2217
- {
2218
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2219
- "message": "Do not use `React.*` types. Use named imports instead."
2220
- },
2221
- {
2222
- "selector": "ExportNamespaceSpecifier",
2223
- "message": "Usage of 'export * as …' is forbidden."
2224
- },
2225
- {
2226
- "selector": "ExportAllDeclaration",
2227
- "message": "Usage of `export * from` is forbidden."
2228
- },
2229
- {
2230
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2231
- "message": "Do not use `import * as ...` from relative paths."
2232
- }
2233
- ],
2234
2246
  "@typescript-eslint/consistent-type-imports": [
2235
2247
  "error",
2236
2248
  {
@@ -1739,13 +1739,52 @@ export default [
1739
1739
  "**/vite.config.js",
1740
1740
  "**/vitest.config.ts",
1741
1741
  "**/vitest.config.js",
1742
+ "**/rolldown.config.ts",
1743
+ "**/rolldown.config.js",
1744
+ "**/playwright.config.ts",
1745
+ "**/playwright.config.js",
1746
+ "**/.dependency-cruiser.ts",
1742
1747
  "**/.dependency-cruiser.js",
1743
- "**/.dependency-cruiser.js",
1748
+ "**/.i18nrc.ts",
1749
+ "**/.i18nrc.js",
1744
1750
  ],
1745
1751
  rules: {
1746
1752
  "no-restricted-exports": "off",
1747
1753
  },
1748
1754
  },
1755
+ {
1756
+ files: [
1757
+ "**/*.ts",
1758
+ "**/*.tsx",
1759
+ "**/*.mts",
1760
+ "**/*.cts",
1761
+ ],
1762
+ rules: {
1763
+ "no-restricted-syntax": [
1764
+ "error",
1765
+ {
1766
+ selector: "MemberExpression[object.name='React']",
1767
+ message: "Do not use `React.*`. Use named imports instead.",
1768
+ },
1769
+ {
1770
+ selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1771
+ message: "Do not use `React.*` types. Use named imports instead.",
1772
+ },
1773
+ {
1774
+ selector: "ExportNamespaceSpecifier",
1775
+ message: "Usage of 'export * as …' is forbidden.",
1776
+ },
1777
+ {
1778
+ selector: "ExportAllDeclaration",
1779
+ message: "Usage of `export * from` is forbidden.",
1780
+ },
1781
+ {
1782
+ selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1783
+ message: "Do not use `import * as ...` from relative paths.",
1784
+ },
1785
+ ],
1786
+ },
1787
+ },
1749
1788
  {
1750
1789
  plugins: {
1751
1790
  headers: plugin0001,
@@ -1793,13 +1832,11 @@ export default [
1793
1832
  "getter-return": "off",
1794
1833
  "no-class-assign": "off",
1795
1834
  "no-const-assign": "off",
1796
- "no-dupe-args": "off",
1797
1835
  "no-dupe-class-members": "off",
1798
1836
  "no-dupe-keys": "off",
1799
1837
  "no-func-assign": "off",
1800
1838
  "no-import-assign": "off",
1801
1839
  "no-new-native-nonconstructor": "off",
1802
- "no-new-symbol": "off",
1803
1840
  "no-obj-calls": "off",
1804
1841
  "no-redeclare": "off",
1805
1842
  "no-setter-return": "off",
@@ -1813,8 +1850,9 @@ export default [
1813
1850
  "prefer-rest-params": "error",
1814
1851
  "prefer-spread": "error",
1815
1852
  "no-array-constructor": "off",
1816
- "no-unused-expressions": "off",
1817
1853
  "no-unused-vars": "off",
1854
+ "no-dupe-args": "off",
1855
+ "no-new-symbol": "off",
1818
1856
  "@typescript-eslint/no-array-constructor": "error",
1819
1857
  "@typescript-eslint/no-duplicate-enum-values": "error",
1820
1858
  "@typescript-eslint/no-empty-object-type": "error",
@@ -1829,11 +1867,11 @@ export default [
1829
1867
  "@typescript-eslint/prefer-as-const": "error",
1830
1868
  "@typescript-eslint/prefer-namespace-keyword": "error",
1831
1869
  "@typescript-eslint/triple-slash-reference": "error",
1832
- "@typescript-eslint/explicit-function-return-type": 0,
1833
- "@typescript-eslint/no-use-before-define": 0,
1834
- "@typescript-eslint/no-empty-function": 0,
1870
+ "@typescript-eslint/explicit-function-return-type": "off",
1871
+ "@typescript-eslint/no-use-before-define": "off",
1872
+ "@typescript-eslint/no-empty-function": "off",
1835
1873
  "@typescript-eslint/no-unused-vars": [
1836
- 2,
1874
+ "error",
1837
1875
  {
1838
1876
  varsIgnorePattern: "^_.*$",
1839
1877
  argsIgnorePattern: "^_.*$",
@@ -1872,34 +1910,8 @@ export default [
1872
1910
  },
1873
1911
  },
1874
1912
  ],
1875
- "@typescript-eslint/explicit-member-accessibility": "off",
1876
- "@typescript-eslint/interface-name-prefix": "off",
1877
- "@typescript-eslint/member-ordering": "off",
1878
1913
  "@typescript-eslint/no-inferrable-types": "off",
1879
1914
  "@typescript-eslint/no-non-null-assertion": "off",
1880
- "no-restricted-syntax": [
1881
- "error",
1882
- {
1883
- selector: "MemberExpression[object.name='React']",
1884
- message: "Do not use `React.*`. Use named imports instead.",
1885
- },
1886
- {
1887
- selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
1888
- message: "Do not use `React.*` types. Use named imports instead.",
1889
- },
1890
- {
1891
- selector: "ExportNamespaceSpecifier",
1892
- message: "Usage of 'export * as …' is forbidden.",
1893
- },
1894
- {
1895
- selector: "ExportAllDeclaration",
1896
- message: "Usage of `export * from` is forbidden.",
1897
- },
1898
- {
1899
- selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
1900
- message: "Do not use `import * as ...` from relative paths.",
1901
- },
1902
- ],
1903
1915
  "@typescript-eslint/consistent-type-imports": [
1904
1916
  "error",
1905
1917
  {
@@ -2067,13 +2067,52 @@
2067
2067
  "**/vite.config.js",
2068
2068
  "**/vitest.config.ts",
2069
2069
  "**/vitest.config.js",
2070
+ "**/rolldown.config.ts",
2071
+ "**/rolldown.config.js",
2072
+ "**/playwright.config.ts",
2073
+ "**/playwright.config.js",
2074
+ "**/.dependency-cruiser.ts",
2070
2075
  "**/.dependency-cruiser.js",
2071
- "**/.dependency-cruiser.js"
2076
+ "**/.i18nrc.ts",
2077
+ "**/.i18nrc.js"
2072
2078
  ],
2073
2079
  "rules": {
2074
2080
  "no-restricted-exports": "off"
2075
2081
  }
2076
2082
  },
2083
+ {
2084
+ "files": [
2085
+ "**/*.ts",
2086
+ "**/*.tsx",
2087
+ "**/*.mts",
2088
+ "**/*.cts"
2089
+ ],
2090
+ "rules": {
2091
+ "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
+ ]
2114
+ }
2115
+ },
2077
2116
  {
2078
2117
  "files": [
2079
2118
  "**/*.ts",
@@ -2086,13 +2125,11 @@
2086
2125
  "getter-return": "off",
2087
2126
  "no-class-assign": "off",
2088
2127
  "no-const-assign": "off",
2089
- "no-dupe-args": "off",
2090
2128
  "no-dupe-class-members": "off",
2091
2129
  "no-dupe-keys": "off",
2092
2130
  "no-func-assign": "off",
2093
2131
  "no-import-assign": "off",
2094
2132
  "no-new-native-nonconstructor": "off",
2095
- "no-new-symbol": "off",
2096
2133
  "no-obj-calls": "off",
2097
2134
  "no-redeclare": "off",
2098
2135
  "no-setter-return": "off",
@@ -2106,8 +2143,9 @@
2106
2143
  "prefer-rest-params": "error",
2107
2144
  "prefer-spread": "error",
2108
2145
  "no-array-constructor": "off",
2109
- "no-unused-expressions": "off",
2110
2146
  "no-unused-vars": "off",
2147
+ "no-dupe-args": "off",
2148
+ "no-new-symbol": "off",
2111
2149
  "@typescript-eslint/no-array-constructor": "error",
2112
2150
  "@typescript-eslint/no-duplicate-enum-values": "error",
2113
2151
  "@typescript-eslint/no-empty-object-type": "error",
@@ -2122,11 +2160,11 @@
2122
2160
  "@typescript-eslint/prefer-as-const": "error",
2123
2161
  "@typescript-eslint/prefer-namespace-keyword": "error",
2124
2162
  "@typescript-eslint/triple-slash-reference": "error",
2125
- "@typescript-eslint/explicit-function-return-type": 0,
2126
- "@typescript-eslint/no-use-before-define": 0,
2127
- "@typescript-eslint/no-empty-function": 0,
2163
+ "@typescript-eslint/explicit-function-return-type": "off",
2164
+ "@typescript-eslint/no-use-before-define": "off",
2165
+ "@typescript-eslint/no-empty-function": "off",
2128
2166
  "@typescript-eslint/no-unused-vars": [
2129
- 2,
2167
+ "error",
2130
2168
  {
2131
2169
  "varsIgnorePattern": "^_.*$",
2132
2170
  "argsIgnorePattern": "^_.*$"
@@ -2165,34 +2203,8 @@
2165
2203
  }
2166
2204
  }
2167
2205
  ],
2168
- "@typescript-eslint/explicit-member-accessibility": "off",
2169
- "@typescript-eslint/interface-name-prefix": "off",
2170
- "@typescript-eslint/member-ordering": "off",
2171
2206
  "@typescript-eslint/no-inferrable-types": "off",
2172
2207
  "@typescript-eslint/no-non-null-assertion": "off",
2173
- "no-restricted-syntax": [
2174
- "error",
2175
- {
2176
- "selector": "MemberExpression[object.name='React']",
2177
- "message": "Do not use `React.*`. Use named imports instead."
2178
- },
2179
- {
2180
- "selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
2181
- "message": "Do not use `React.*` types. Use named imports instead."
2182
- },
2183
- {
2184
- "selector": "ExportNamespaceSpecifier",
2185
- "message": "Usage of 'export * as …' is forbidden."
2186
- },
2187
- {
2188
- "selector": "ExportAllDeclaration",
2189
- "message": "Usage of `export * from` is forbidden."
2190
- },
2191
- {
2192
- "selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
2193
- "message": "Do not use `import * as ...` from relative paths."
2194
- }
2195
- ],
2196
2208
  "@typescript-eslint/consistent-type-imports": [
2197
2209
  "error",
2198
2210
  {