@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.
- package/PACKAGES_V9_OXLINT.md +0 -1
- package/dist/base.js +46 -34
- package/dist/base.json +46 -34
- package/dist/browser-esm.js +46 -34
- package/dist/browser-esm.json +46 -34
- package/dist/esm-playwright.js +46 -35
- package/dist/esm-playwright.json +46 -35
- package/dist/esm-react-playwright.js +46 -35
- package/dist/esm-react-playwright.json +46 -35
- package/dist/esm-react-storybook.js +46 -34
- package/dist/esm-react-storybook.json +46 -34
- package/dist/esm-react-vitest-rtl.js +46 -34
- package/dist/esm-react-vitest-rtl.json +46 -34
- package/dist/esm-react-vitest.js +46 -34
- package/dist/esm-react-vitest.json +46 -34
- package/dist/esm-react.js +46 -34
- package/dist/esm-react.json +46 -34
- package/dist/esm-vitest-rtl.js +46 -34
- package/dist/esm-vitest-rtl.json +46 -34
- package/dist/esm-vitest.js +46 -34
- package/dist/esm-vitest.json +46 -34
- package/dist/esm.js +46 -34
- package/dist/esm.json +46 -34
- package/dist/oxlint-base.js +2 -1135
- package/dist/oxlint-browser-esm.js +2 -1135
- package/dist/oxlint-esm-playwright.js +2 -1135
- package/dist/oxlint-esm-react-playwright.js +2 -1135
- package/dist/oxlint-esm-react-storybook.js +2 -1135
- package/dist/oxlint-esm-react-vitest-rtl.js +2 -1135
- package/dist/oxlint-esm-react-vitest.js +2 -1135
- package/dist/oxlint-esm-react.js +2 -1135
- package/dist/oxlint-esm-vitest-rtl.js +2 -1135
- package/dist/oxlint-esm-vitest.js +2 -1135
- package/dist/oxlint-esm.js +2 -1135
- package/dist/oxlint-react-playwright.js +2 -1135
- package/dist/oxlint-react-vitest-rtl.js +2 -1135
- package/dist/oxlint-react-vitest.js +2 -1135
- package/dist/oxlint-react.js +2 -1135
- package/dist/react-playwright.js +46 -35
- package/dist/react-playwright.json +46 -35
- package/dist/react-vitest-rtl.js +46 -34
- package/dist/react-vitest-rtl.json +46 -34
- package/dist/react-vitest.js +46 -34
- package/dist/react-vitest.json +46 -34
- package/dist/react.js +46 -34
- package/dist/react.json +46 -34
- package/package.json +2 -3
package/PACKAGES_V9_OXLINT.md
CHANGED
|
@@ -4,7 +4,6 @@ This table shows which packages are required for each configuration.
|
|
|
4
4
|
|
|
5
5
|
| Package | oxlint-base | oxlint-browser-esm | oxlint-esm | oxlint-esm-playwright | oxlint-esm-react | oxlint-esm-react-playwright | oxlint-esm-react-storybook | oxlint-esm-react-vitest | oxlint-esm-react-vitest-rtl | oxlint-esm-vitest | oxlint-esm-vitest-rtl | oxlint-react | oxlint-react-playwright | oxlint-react-vitest | oxlint-react-vitest-rtl |
|
|
6
6
|
| -------------------------------- | ----------- | ------------------ | ---------- | --------------------- | ---------------- | --------------------------- | -------------------------- | ----------------------- | --------------------------- | ----------------- | --------------------- | ------------ | ----------------------- | ------------------- | ----------------------- |
|
|
7
|
-
| @eslint/js | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 |
|
|
8
7
|
| @typescript-eslint/eslint-plugin | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 |
|
|
9
8
|
| @typescript-eslint/parser | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 | 8.58.0 |
|
|
10
9
|
| eslint-plugin-jsdoc | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 |
|
package/dist/base.js
CHANGED
|
@@ -1734,13 +1734,52 @@ export default [
|
|
|
1734
1734
|
"**/vite.config.js",
|
|
1735
1735
|
"**/vitest.config.ts",
|
|
1736
1736
|
"**/vitest.config.js",
|
|
1737
|
+
"**/rolldown.config.ts",
|
|
1738
|
+
"**/rolldown.config.js",
|
|
1739
|
+
"**/playwright.config.ts",
|
|
1740
|
+
"**/playwright.config.js",
|
|
1741
|
+
"**/.dependency-cruiser.ts",
|
|
1737
1742
|
"**/.dependency-cruiser.js",
|
|
1738
|
-
"**/.
|
|
1743
|
+
"**/.i18nrc.ts",
|
|
1744
|
+
"**/.i18nrc.js",
|
|
1739
1745
|
],
|
|
1740
1746
|
rules: {
|
|
1741
1747
|
"no-restricted-exports": "off",
|
|
1742
1748
|
},
|
|
1743
1749
|
},
|
|
1750
|
+
{
|
|
1751
|
+
files: [
|
|
1752
|
+
"**/*.ts",
|
|
1753
|
+
"**/*.tsx",
|
|
1754
|
+
"**/*.mts",
|
|
1755
|
+
"**/*.cts",
|
|
1756
|
+
],
|
|
1757
|
+
rules: {
|
|
1758
|
+
"no-restricted-syntax": [
|
|
1759
|
+
"error",
|
|
1760
|
+
{
|
|
1761
|
+
selector: "MemberExpression[object.name='React']",
|
|
1762
|
+
message: "Do not use `React.*`. Use named imports instead.",
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
1766
|
+
message: "Do not use `React.*` types. Use named imports instead.",
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
selector: "ExportNamespaceSpecifier",
|
|
1770
|
+
message: "Usage of 'export * as …' is forbidden.",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
selector: "ExportAllDeclaration",
|
|
1774
|
+
message: "Usage of `export * from` is forbidden.",
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
1778
|
+
message: "Do not use `import * as ...` from relative paths.",
|
|
1779
|
+
},
|
|
1780
|
+
],
|
|
1781
|
+
},
|
|
1782
|
+
},
|
|
1744
1783
|
{
|
|
1745
1784
|
plugins: {
|
|
1746
1785
|
headers: plugin0001,
|
|
@@ -1788,13 +1827,11 @@ export default [
|
|
|
1788
1827
|
"getter-return": "off",
|
|
1789
1828
|
"no-class-assign": "off",
|
|
1790
1829
|
"no-const-assign": "off",
|
|
1791
|
-
"no-dupe-args": "off",
|
|
1792
1830
|
"no-dupe-class-members": "off",
|
|
1793
1831
|
"no-dupe-keys": "off",
|
|
1794
1832
|
"no-func-assign": "off",
|
|
1795
1833
|
"no-import-assign": "off",
|
|
1796
1834
|
"no-new-native-nonconstructor": "off",
|
|
1797
|
-
"no-new-symbol": "off",
|
|
1798
1835
|
"no-obj-calls": "off",
|
|
1799
1836
|
"no-redeclare": "off",
|
|
1800
1837
|
"no-setter-return": "off",
|
|
@@ -1808,8 +1845,9 @@ export default [
|
|
|
1808
1845
|
"prefer-rest-params": "error",
|
|
1809
1846
|
"prefer-spread": "error",
|
|
1810
1847
|
"no-array-constructor": "off",
|
|
1811
|
-
"no-unused-expressions": "off",
|
|
1812
1848
|
"no-unused-vars": "off",
|
|
1849
|
+
"no-dupe-args": "off",
|
|
1850
|
+
"no-new-symbol": "off",
|
|
1813
1851
|
"@typescript-eslint/no-array-constructor": "error",
|
|
1814
1852
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
1815
1853
|
"@typescript-eslint/no-empty-object-type": "error",
|
|
@@ -1824,11 +1862,11 @@ export default [
|
|
|
1824
1862
|
"@typescript-eslint/prefer-as-const": "error",
|
|
1825
1863
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
1826
1864
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
1827
|
-
"@typescript-eslint/explicit-function-return-type":
|
|
1828
|
-
"@typescript-eslint/no-use-before-define":
|
|
1829
|
-
"@typescript-eslint/no-empty-function":
|
|
1865
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
1866
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
1867
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
1830
1868
|
"@typescript-eslint/no-unused-vars": [
|
|
1831
|
-
|
|
1869
|
+
"error",
|
|
1832
1870
|
{
|
|
1833
1871
|
varsIgnorePattern: "^_.*$",
|
|
1834
1872
|
argsIgnorePattern: "^_.*$",
|
|
@@ -1867,34 +1905,8 @@ export default [
|
|
|
1867
1905
|
},
|
|
1868
1906
|
},
|
|
1869
1907
|
],
|
|
1870
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
1871
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
1872
|
-
"@typescript-eslint/member-ordering": "off",
|
|
1873
1908
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
1874
1909
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
1875
|
-
"no-restricted-syntax": [
|
|
1876
|
-
"error",
|
|
1877
|
-
{
|
|
1878
|
-
selector: "MemberExpression[object.name='React']",
|
|
1879
|
-
message: "Do not use `React.*`. Use named imports instead.",
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
1883
|
-
message: "Do not use `React.*` types. Use named imports instead.",
|
|
1884
|
-
},
|
|
1885
|
-
{
|
|
1886
|
-
selector: "ExportNamespaceSpecifier",
|
|
1887
|
-
message: "Usage of 'export * as …' is forbidden.",
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
selector: "ExportAllDeclaration",
|
|
1891
|
-
message: "Usage of `export * from` is forbidden.",
|
|
1892
|
-
},
|
|
1893
|
-
{
|
|
1894
|
-
selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
1895
|
-
message: "Do not use `import * as ...` from relative paths.",
|
|
1896
|
-
},
|
|
1897
|
-
],
|
|
1898
1910
|
"@typescript-eslint/consistent-type-imports": [
|
|
1899
1911
|
"error",
|
|
1900
1912
|
{
|
package/dist/base.json
CHANGED
|
@@ -2009,13 +2009,52 @@
|
|
|
2009
2009
|
"**/vite.config.js",
|
|
2010
2010
|
"**/vitest.config.ts",
|
|
2011
2011
|
"**/vitest.config.js",
|
|
2012
|
+
"**/rolldown.config.ts",
|
|
2013
|
+
"**/rolldown.config.js",
|
|
2014
|
+
"**/playwright.config.ts",
|
|
2015
|
+
"**/playwright.config.js",
|
|
2016
|
+
"**/.dependency-cruiser.ts",
|
|
2012
2017
|
"**/.dependency-cruiser.js",
|
|
2013
|
-
"**/.
|
|
2018
|
+
"**/.i18nrc.ts",
|
|
2019
|
+
"**/.i18nrc.js"
|
|
2014
2020
|
],
|
|
2015
2021
|
"rules": {
|
|
2016
2022
|
"no-restricted-exports": "off"
|
|
2017
2023
|
}
|
|
2018
2024
|
},
|
|
2025
|
+
{
|
|
2026
|
+
"files": [
|
|
2027
|
+
"**/*.ts",
|
|
2028
|
+
"**/*.tsx",
|
|
2029
|
+
"**/*.mts",
|
|
2030
|
+
"**/*.cts"
|
|
2031
|
+
],
|
|
2032
|
+
"rules": {
|
|
2033
|
+
"no-restricted-syntax": [
|
|
2034
|
+
"error",
|
|
2035
|
+
{
|
|
2036
|
+
"selector": "MemberExpression[object.name='React']",
|
|
2037
|
+
"message": "Do not use `React.*`. Use named imports instead."
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
2041
|
+
"message": "Do not use `React.*` types. Use named imports instead."
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"selector": "ExportNamespaceSpecifier",
|
|
2045
|
+
"message": "Usage of 'export * as …' is forbidden."
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"selector": "ExportAllDeclaration",
|
|
2049
|
+
"message": "Usage of `export * from` is forbidden."
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
2053
|
+
"message": "Do not use `import * as ...` from relative paths."
|
|
2054
|
+
}
|
|
2055
|
+
]
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2019
2058
|
{
|
|
2020
2059
|
"files": [
|
|
2021
2060
|
"**/*.ts",
|
|
@@ -2028,13 +2067,11 @@
|
|
|
2028
2067
|
"getter-return": "off",
|
|
2029
2068
|
"no-class-assign": "off",
|
|
2030
2069
|
"no-const-assign": "off",
|
|
2031
|
-
"no-dupe-args": "off",
|
|
2032
2070
|
"no-dupe-class-members": "off",
|
|
2033
2071
|
"no-dupe-keys": "off",
|
|
2034
2072
|
"no-func-assign": "off",
|
|
2035
2073
|
"no-import-assign": "off",
|
|
2036
2074
|
"no-new-native-nonconstructor": "off",
|
|
2037
|
-
"no-new-symbol": "off",
|
|
2038
2075
|
"no-obj-calls": "off",
|
|
2039
2076
|
"no-redeclare": "off",
|
|
2040
2077
|
"no-setter-return": "off",
|
|
@@ -2048,8 +2085,9 @@
|
|
|
2048
2085
|
"prefer-rest-params": "error",
|
|
2049
2086
|
"prefer-spread": "error",
|
|
2050
2087
|
"no-array-constructor": "off",
|
|
2051
|
-
"no-unused-expressions": "off",
|
|
2052
2088
|
"no-unused-vars": "off",
|
|
2089
|
+
"no-dupe-args": "off",
|
|
2090
|
+
"no-new-symbol": "off",
|
|
2053
2091
|
"@typescript-eslint/no-array-constructor": "error",
|
|
2054
2092
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
2055
2093
|
"@typescript-eslint/no-empty-object-type": "error",
|
|
@@ -2064,11 +2102,11 @@
|
|
|
2064
2102
|
"@typescript-eslint/prefer-as-const": "error",
|
|
2065
2103
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
2066
2104
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
2067
|
-
"@typescript-eslint/explicit-function-return-type":
|
|
2068
|
-
"@typescript-eslint/no-use-before-define":
|
|
2069
|
-
"@typescript-eslint/no-empty-function":
|
|
2105
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
2106
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
2107
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
2070
2108
|
"@typescript-eslint/no-unused-vars": [
|
|
2071
|
-
|
|
2109
|
+
"error",
|
|
2072
2110
|
{
|
|
2073
2111
|
"varsIgnorePattern": "^_.*$",
|
|
2074
2112
|
"argsIgnorePattern": "^_.*$"
|
|
@@ -2107,34 +2145,8 @@
|
|
|
2107
2145
|
}
|
|
2108
2146
|
}
|
|
2109
2147
|
],
|
|
2110
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
2111
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
2112
|
-
"@typescript-eslint/member-ordering": "off",
|
|
2113
2148
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
2114
2149
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
2115
|
-
"no-restricted-syntax": [
|
|
2116
|
-
"error",
|
|
2117
|
-
{
|
|
2118
|
-
"selector": "MemberExpression[object.name='React']",
|
|
2119
|
-
"message": "Do not use `React.*`. Use named imports instead."
|
|
2120
|
-
},
|
|
2121
|
-
{
|
|
2122
|
-
"selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
2123
|
-
"message": "Do not use `React.*` types. Use named imports instead."
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"selector": "ExportNamespaceSpecifier",
|
|
2127
|
-
"message": "Usage of 'export * as …' is forbidden."
|
|
2128
|
-
},
|
|
2129
|
-
{
|
|
2130
|
-
"selector": "ExportAllDeclaration",
|
|
2131
|
-
"message": "Usage of `export * from` is forbidden."
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
"selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
2135
|
-
"message": "Do not use `import * as ...` from relative paths."
|
|
2136
|
-
}
|
|
2137
|
-
],
|
|
2138
2150
|
"@typescript-eslint/consistent-type-imports": [
|
|
2139
2151
|
"error",
|
|
2140
2152
|
{
|
package/dist/browser-esm.js
CHANGED
|
@@ -1735,13 +1735,52 @@ export default [
|
|
|
1735
1735
|
"**/vite.config.js",
|
|
1736
1736
|
"**/vitest.config.ts",
|
|
1737
1737
|
"**/vitest.config.js",
|
|
1738
|
+
"**/rolldown.config.ts",
|
|
1739
|
+
"**/rolldown.config.js",
|
|
1740
|
+
"**/playwright.config.ts",
|
|
1741
|
+
"**/playwright.config.js",
|
|
1742
|
+
"**/.dependency-cruiser.ts",
|
|
1738
1743
|
"**/.dependency-cruiser.js",
|
|
1739
|
-
"**/.
|
|
1744
|
+
"**/.i18nrc.ts",
|
|
1745
|
+
"**/.i18nrc.js",
|
|
1740
1746
|
],
|
|
1741
1747
|
rules: {
|
|
1742
1748
|
"no-restricted-exports": "off",
|
|
1743
1749
|
},
|
|
1744
1750
|
},
|
|
1751
|
+
{
|
|
1752
|
+
files: [
|
|
1753
|
+
"**/*.ts",
|
|
1754
|
+
"**/*.tsx",
|
|
1755
|
+
"**/*.mts",
|
|
1756
|
+
"**/*.cts",
|
|
1757
|
+
],
|
|
1758
|
+
rules: {
|
|
1759
|
+
"no-restricted-syntax": [
|
|
1760
|
+
"error",
|
|
1761
|
+
{
|
|
1762
|
+
selector: "MemberExpression[object.name='React']",
|
|
1763
|
+
message: "Do not use `React.*`. Use named imports instead.",
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
1767
|
+
message: "Do not use `React.*` types. Use named imports instead.",
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
selector: "ExportNamespaceSpecifier",
|
|
1771
|
+
message: "Usage of 'export * as …' is forbidden.",
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
selector: "ExportAllDeclaration",
|
|
1775
|
+
message: "Usage of `export * from` is forbidden.",
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
1779
|
+
message: "Do not use `import * as ...` from relative paths.",
|
|
1780
|
+
},
|
|
1781
|
+
],
|
|
1782
|
+
},
|
|
1783
|
+
},
|
|
1745
1784
|
{
|
|
1746
1785
|
plugins: {
|
|
1747
1786
|
headers: plugin0001,
|
|
@@ -1789,13 +1828,11 @@ export default [
|
|
|
1789
1828
|
"getter-return": "off",
|
|
1790
1829
|
"no-class-assign": "off",
|
|
1791
1830
|
"no-const-assign": "off",
|
|
1792
|
-
"no-dupe-args": "off",
|
|
1793
1831
|
"no-dupe-class-members": "off",
|
|
1794
1832
|
"no-dupe-keys": "off",
|
|
1795
1833
|
"no-func-assign": "off",
|
|
1796
1834
|
"no-import-assign": "off",
|
|
1797
1835
|
"no-new-native-nonconstructor": "off",
|
|
1798
|
-
"no-new-symbol": "off",
|
|
1799
1836
|
"no-obj-calls": "off",
|
|
1800
1837
|
"no-redeclare": "off",
|
|
1801
1838
|
"no-setter-return": "off",
|
|
@@ -1809,8 +1846,9 @@ export default [
|
|
|
1809
1846
|
"prefer-rest-params": "error",
|
|
1810
1847
|
"prefer-spread": "error",
|
|
1811
1848
|
"no-array-constructor": "off",
|
|
1812
|
-
"no-unused-expressions": "off",
|
|
1813
1849
|
"no-unused-vars": "off",
|
|
1850
|
+
"no-dupe-args": "off",
|
|
1851
|
+
"no-new-symbol": "off",
|
|
1814
1852
|
"@typescript-eslint/no-array-constructor": "error",
|
|
1815
1853
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
1816
1854
|
"@typescript-eslint/no-empty-object-type": "error",
|
|
@@ -1825,11 +1863,11 @@ export default [
|
|
|
1825
1863
|
"@typescript-eslint/prefer-as-const": "error",
|
|
1826
1864
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
1827
1865
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
1828
|
-
"@typescript-eslint/explicit-function-return-type":
|
|
1829
|
-
"@typescript-eslint/no-use-before-define":
|
|
1830
|
-
"@typescript-eslint/no-empty-function":
|
|
1866
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
1867
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
1868
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
1831
1869
|
"@typescript-eslint/no-unused-vars": [
|
|
1832
|
-
|
|
1870
|
+
"error",
|
|
1833
1871
|
{
|
|
1834
1872
|
varsIgnorePattern: "^_.*$",
|
|
1835
1873
|
argsIgnorePattern: "^_.*$",
|
|
@@ -1868,34 +1906,8 @@ export default [
|
|
|
1868
1906
|
},
|
|
1869
1907
|
},
|
|
1870
1908
|
],
|
|
1871
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
1872
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
1873
|
-
"@typescript-eslint/member-ordering": "off",
|
|
1874
1909
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
1875
1910
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
1876
|
-
"no-restricted-syntax": [
|
|
1877
|
-
"error",
|
|
1878
|
-
{
|
|
1879
|
-
selector: "MemberExpression[object.name='React']",
|
|
1880
|
-
message: "Do not use `React.*`. Use named imports instead.",
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
selector: "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
1884
|
-
message: "Do not use `React.*` types. Use named imports instead.",
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
selector: "ExportNamespaceSpecifier",
|
|
1888
|
-
message: "Usage of 'export * as …' is forbidden.",
|
|
1889
|
-
},
|
|
1890
|
-
{
|
|
1891
|
-
selector: "ExportAllDeclaration",
|
|
1892
|
-
message: "Usage of `export * from` is forbidden.",
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
selector: "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
1896
|
-
message: "Do not use `import * as ...` from relative paths.",
|
|
1897
|
-
},
|
|
1898
|
-
],
|
|
1899
1911
|
"@typescript-eslint/consistent-type-imports": [
|
|
1900
1912
|
"error",
|
|
1901
1913
|
{
|
package/dist/browser-esm.json
CHANGED
|
@@ -2011,13 +2011,52 @@
|
|
|
2011
2011
|
"**/vite.config.js",
|
|
2012
2012
|
"**/vitest.config.ts",
|
|
2013
2013
|
"**/vitest.config.js",
|
|
2014
|
+
"**/rolldown.config.ts",
|
|
2015
|
+
"**/rolldown.config.js",
|
|
2016
|
+
"**/playwright.config.ts",
|
|
2017
|
+
"**/playwright.config.js",
|
|
2018
|
+
"**/.dependency-cruiser.ts",
|
|
2014
2019
|
"**/.dependency-cruiser.js",
|
|
2015
|
-
"**/.
|
|
2020
|
+
"**/.i18nrc.ts",
|
|
2021
|
+
"**/.i18nrc.js"
|
|
2016
2022
|
],
|
|
2017
2023
|
"rules": {
|
|
2018
2024
|
"no-restricted-exports": "off"
|
|
2019
2025
|
}
|
|
2020
2026
|
},
|
|
2027
|
+
{
|
|
2028
|
+
"files": [
|
|
2029
|
+
"**/*.ts",
|
|
2030
|
+
"**/*.tsx",
|
|
2031
|
+
"**/*.mts",
|
|
2032
|
+
"**/*.cts"
|
|
2033
|
+
],
|
|
2034
|
+
"rules": {
|
|
2035
|
+
"no-restricted-syntax": [
|
|
2036
|
+
"error",
|
|
2037
|
+
{
|
|
2038
|
+
"selector": "MemberExpression[object.name='React']",
|
|
2039
|
+
"message": "Do not use `React.*`. Use named imports instead."
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
2043
|
+
"message": "Do not use `React.*` types. Use named imports instead."
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"selector": "ExportNamespaceSpecifier",
|
|
2047
|
+
"message": "Usage of 'export * as …' is forbidden."
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"selector": "ExportAllDeclaration",
|
|
2051
|
+
"message": "Usage of `export * from` is forbidden."
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
2055
|
+
"message": "Do not use `import * as ...` from relative paths."
|
|
2056
|
+
}
|
|
2057
|
+
]
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2021
2060
|
{
|
|
2022
2061
|
"files": [
|
|
2023
2062
|
"**/*.ts",
|
|
@@ -2030,13 +2069,11 @@
|
|
|
2030
2069
|
"getter-return": "off",
|
|
2031
2070
|
"no-class-assign": "off",
|
|
2032
2071
|
"no-const-assign": "off",
|
|
2033
|
-
"no-dupe-args": "off",
|
|
2034
2072
|
"no-dupe-class-members": "off",
|
|
2035
2073
|
"no-dupe-keys": "off",
|
|
2036
2074
|
"no-func-assign": "off",
|
|
2037
2075
|
"no-import-assign": "off",
|
|
2038
2076
|
"no-new-native-nonconstructor": "off",
|
|
2039
|
-
"no-new-symbol": "off",
|
|
2040
2077
|
"no-obj-calls": "off",
|
|
2041
2078
|
"no-redeclare": "off",
|
|
2042
2079
|
"no-setter-return": "off",
|
|
@@ -2050,8 +2087,9 @@
|
|
|
2050
2087
|
"prefer-rest-params": "error",
|
|
2051
2088
|
"prefer-spread": "error",
|
|
2052
2089
|
"no-array-constructor": "off",
|
|
2053
|
-
"no-unused-expressions": "off",
|
|
2054
2090
|
"no-unused-vars": "off",
|
|
2091
|
+
"no-dupe-args": "off",
|
|
2092
|
+
"no-new-symbol": "off",
|
|
2055
2093
|
"@typescript-eslint/no-array-constructor": "error",
|
|
2056
2094
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
2057
2095
|
"@typescript-eslint/no-empty-object-type": "error",
|
|
@@ -2066,11 +2104,11 @@
|
|
|
2066
2104
|
"@typescript-eslint/prefer-as-const": "error",
|
|
2067
2105
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
2068
2106
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
2069
|
-
"@typescript-eslint/explicit-function-return-type":
|
|
2070
|
-
"@typescript-eslint/no-use-before-define":
|
|
2071
|
-
"@typescript-eslint/no-empty-function":
|
|
2107
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
2108
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
2109
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
2072
2110
|
"@typescript-eslint/no-unused-vars": [
|
|
2073
|
-
|
|
2111
|
+
"error",
|
|
2074
2112
|
{
|
|
2075
2113
|
"varsIgnorePattern": "^_.*$",
|
|
2076
2114
|
"argsIgnorePattern": "^_.*$"
|
|
@@ -2109,34 +2147,8 @@
|
|
|
2109
2147
|
}
|
|
2110
2148
|
}
|
|
2111
2149
|
],
|
|
2112
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
2113
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
2114
|
-
"@typescript-eslint/member-ordering": "off",
|
|
2115
2150
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
2116
2151
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
2117
|
-
"no-restricted-syntax": [
|
|
2118
|
-
"error",
|
|
2119
|
-
{
|
|
2120
|
-
"selector": "MemberExpression[object.name='React']",
|
|
2121
|
-
"message": "Do not use `React.*`. Use named imports instead."
|
|
2122
|
-
},
|
|
2123
|
-
{
|
|
2124
|
-
"selector": "TSTypeReference[typeName.type='TSQualifiedName'][typeName.left.name='React']",
|
|
2125
|
-
"message": "Do not use `React.*` types. Use named imports instead."
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"selector": "ExportNamespaceSpecifier",
|
|
2129
|
-
"message": "Usage of 'export * as …' is forbidden."
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"selector": "ExportAllDeclaration",
|
|
2133
|
-
"message": "Usage of `export * from` is forbidden."
|
|
2134
|
-
},
|
|
2135
|
-
{
|
|
2136
|
-
"selector": "ImportDeclaration[source.value=/^(?!.*reference_workspace)\\./] ImportNamespaceSpecifier",
|
|
2137
|
-
"message": "Do not use `import * as ...` from relative paths."
|
|
2138
|
-
}
|
|
2139
|
-
],
|
|
2140
2152
|
"@typescript-eslint/consistent-type-imports": [
|
|
2141
2153
|
"error",
|
|
2142
2154
|
{
|
package/dist/esm-playwright.js
CHANGED
|
@@ -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
|
-
"**/.
|
|
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":
|
|
1832
|
-
"@typescript-eslint/no-use-before-define":
|
|
1833
|
-
"@typescript-eslint/no-empty-function":
|
|
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
|
-
|
|
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
|
{
|
|
@@ -2390,7 +2402,6 @@ export default [
|
|
|
2390
2402
|
"chai-friendly": plugin0010,
|
|
2391
2403
|
},
|
|
2392
2404
|
rules: {
|
|
2393
|
-
"no-unused-expressions": "off",
|
|
2394
2405
|
"chai-friendly/no-unused-expressions": "error",
|
|
2395
2406
|
},
|
|
2396
2407
|
},
|