@gooddata/eslint-config 11.19.0-alpha.3 → 11.19.0-alpha.5

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 (60) hide show
  1. package/LICENSE +7 -0
  2. package/PACKAGES_V8.md +23 -26
  3. package/PACKAGES_V9.md +24 -29
  4. package/README.md +22 -0
  5. package/dist/base.js +62 -9
  6. package/dist/base.json +59 -11
  7. package/dist/browser-esm.js +37 -351
  8. package/dist/browser-esm.json +60 -13
  9. package/dist/browser.js +23 -337
  10. package/dist/browser.json +60 -13
  11. package/dist/esm-react-cypress.js +62 -376
  12. package/dist/esm-react-cypress.json +59 -12
  13. package/dist/esm-react-vitest-storybook.js +62 -376
  14. package/dist/esm-react-vitest-storybook.json +59 -12
  15. package/dist/esm-react-vitest.js +62 -376
  16. package/dist/esm-react-vitest.json +59 -12
  17. package/dist/esm-react.js +62 -376
  18. package/dist/esm-react.json +59 -12
  19. package/dist/esm-vitest.js +56 -370
  20. package/dist/esm-vitest.json +59 -12
  21. package/dist/esm.js +32 -346
  22. package/dist/esm.json +60 -13
  23. package/dist/react-cypress.js +62 -376
  24. package/dist/react-cypress.json +59 -12
  25. package/dist/react-vitest.js +62 -376
  26. package/dist/react-vitest.json +59 -12
  27. package/dist/react.js +62 -376
  28. package/dist/react.json +59 -12
  29. package/dist/vitest.js +36 -716
  30. package/dist/vitest.json +59 -13
  31. package/package.json +15 -59
  32. package/dist/oxfmt-browser-esm.d.ts +0 -12
  33. package/dist/oxfmt-browser-esm.js +0 -1859
  34. package/dist/oxfmt-browser.d.ts +0 -12
  35. package/dist/oxfmt-browser.js +0 -1844
  36. package/dist/oxfmt-esm-react-cypress.d.ts +0 -12
  37. package/dist/oxfmt-esm-react-cypress.js +0 -1942
  38. package/dist/oxfmt-esm-react-vitest-storybook.d.ts +0 -12
  39. package/dist/oxfmt-esm-react-vitest-storybook.js +0 -1964
  40. package/dist/oxfmt-esm-react-vitest.d.ts +0 -12
  41. package/dist/oxfmt-esm-react-vitest.js +0 -1930
  42. package/dist/oxfmt-esm-react.d.ts +0 -12
  43. package/dist/oxfmt-esm-react.js +0 -1905
  44. package/dist/oxfmt-esm-vitest.d.ts +0 -12
  45. package/dist/oxfmt-esm-vitest.js +0 -1879
  46. package/dist/oxfmt-esm.d.ts +0 -12
  47. package/dist/oxfmt-esm.js +0 -1854
  48. package/dist/oxfmt-react-cypress.d.ts +0 -12
  49. package/dist/oxfmt-react-cypress.js +0 -1933
  50. package/dist/oxfmt-react-vitest.d.ts +0 -12
  51. package/dist/oxfmt-react-vitest.js +0 -1921
  52. package/dist/oxfmt-react.d.ts +0 -12
  53. package/dist/oxfmt-react.js +0 -1896
  54. package/dist/oxfmt-vitest.d.ts +0 -12
  55. package/dist/oxfmt-vitest.js +0 -2231
  56. package/dist/oxfmt.d.ts +0 -12
  57. package/dist/oxfmt.js +0 -1839
  58. package/dist/prettier.d.ts +0 -12
  59. package/dist/prettier.js +0 -2197
  60. package/dist/prettier.json +0 -1451
package/dist/vitest.js CHANGED
@@ -10,7 +10,6 @@ import plugin0006 from "eslint-plugin-jsdoc";
10
10
  import plugin0007 from "eslint-plugin-no-only-tests";
11
11
  import plugin0008 from "eslint-plugin-sonarjs";
12
12
  import plugin0009 from "@vitest/eslint-plugin";
13
- import plugin0010 from "eslint-plugin-prettier";
14
13
 
15
14
  export default [
16
15
  {
@@ -119,6 +118,13 @@ export default [
119
118
  ],
120
119
  message: "Default import from React is not allowed. Use named imports instead.",
121
120
  },
121
+ {
122
+ name: "react-dom",
123
+ importNames: [
124
+ "default",
125
+ ],
126
+ message: "Default import from React DOM is not allowed. Use named imports instead.",
127
+ },
122
128
  {
123
129
  name: "@gooddata/sdk-ui-kit",
124
130
  importNames: [
@@ -627,6 +633,10 @@ export default [
627
633
  selector: "MemberExpression[object.name='React']",
628
634
  message: "Do not use `React.*`. Use named imports instead.",
629
635
  },
636
+ {
637
+ selector: "MemberExpression[object.name='ReactDOM']",
638
+ message: "Do not use `ReactDOM.*`. Use named imports instead.",
639
+ },
630
640
  ],
631
641
  "sort-imports": [
632
642
  "error",
@@ -643,15 +653,6 @@ export default [
643
653
  defaultAssignment: false,
644
654
  },
645
655
  ],
646
- "no-warning-comments": [
647
- "warn",
648
- {
649
- terms: [
650
- "todo",
651
- ],
652
- location: "start",
653
- },
654
- ],
655
656
  },
656
657
  },
657
658
  {
@@ -683,6 +684,13 @@ export default [
683
684
  ],
684
685
  message: "Default import from React is not allowed. Use named imports instead.",
685
686
  },
687
+ {
688
+ name: "react-dom",
689
+ importNames: [
690
+ "default",
691
+ ],
692
+ message: "Default import from React DOM is not allowed. Use named imports instead.",
693
+ },
686
694
  {
687
695
  name: "@gooddata/sdk-ui-kit",
688
696
  importNames: [
@@ -1830,224 +1838,12 @@ export default [
1830
1838
  ],
1831
1839
  },
1832
1840
  {
1833
- plugins: {
1834
- vitest: plugin0009,
1835
- },
1836
- rules: {
1837
- "vitest/expect-expect": "off",
1838
- "vitest/no-conditional-expect": "error",
1839
- "vitest/no-disabled-tests": "warn",
1840
- "vitest/no-focused-tests": "warn",
1841
- "vitest/no-commented-out-tests": "warn",
1842
- "vitest/no-identical-title": "warn",
1843
- "vitest/no-import-node-test": "error",
1844
- "vitest/no-interpolation-in-snapshots": "error",
1845
- "vitest/no-mocks-import": "error",
1846
- "vitest/no-standalone-expect": "error",
1847
- "vitest/no-unneeded-async-expect-function": "error",
1848
- "vitest/prefer-called-exactly-once-with": "error",
1849
- "vitest/require-local-test-context-for-concurrent-snapshots": "error",
1850
- "vitest/valid-describe-callback": "error",
1851
- "vitest/valid-expect": "warn",
1852
- "vitest/valid-expect-in-promise": "error",
1853
- "vitest/valid-title": "error",
1854
- },
1855
- },
1856
- {
1857
- plugins: {
1858
- prettier: plugin0010,
1859
- },
1860
1841
  rules: {
1861
1842
  curly: 0,
1862
1843
  "no-unexpected-multiline": 0,
1863
- "@stylistic/lines-around-comment": 0,
1864
- "@stylistic/max-len": 0,
1865
- "@stylistic/no-confusing-arrow": 0,
1866
- "@stylistic/no-mixed-operators": 0,
1867
- "@stylistic/no-tabs": 0,
1868
- "@stylistic/quotes": 0,
1869
- "@stylistic/js/lines-around-comment": 0,
1870
- "@stylistic/js/max-len": 0,
1871
- "@stylistic/js/no-confusing-arrow": 0,
1872
- "@stylistic/js/no-mixed-operators": 0,
1873
- "@stylistic/js/no-tabs": 0,
1874
- "@stylistic/js/quotes": 0,
1875
- "@stylistic/ts/lines-around-comment": 0,
1876
- "@stylistic/ts/quotes": 0,
1877
1844
  "@typescript-eslint/lines-around-comment": 0,
1878
1845
  "@typescript-eslint/quotes": 0,
1879
- "babel/quotes": 0,
1880
1846
  "unicorn/template-indent": 0,
1881
- "vue/html-self-closing": 0,
1882
- "vue/max-len": 0,
1883
- "@babel/object-curly-spacing": "off",
1884
- "@babel/semi": "off",
1885
- "@stylistic/array-bracket-newline": "off",
1886
- "@stylistic/array-bracket-spacing": "off",
1887
- "@stylistic/array-element-newline": "off",
1888
- "@stylistic/arrow-parens": "off",
1889
- "@stylistic/arrow-spacing": "off",
1890
- "@stylistic/block-spacing": "off",
1891
- "@stylistic/brace-style": "off",
1892
- "@stylistic/comma-dangle": "off",
1893
- "@stylistic/comma-spacing": "off",
1894
- "@stylistic/comma-style": "off",
1895
- "@stylistic/computed-property-spacing": "off",
1896
- "@stylistic/dot-location": "off",
1897
- "@stylistic/eol-last": "off",
1898
- "@stylistic/func-call-spacing": "off",
1899
- "@stylistic/function-call-argument-newline": "off",
1900
- "@stylistic/function-call-spacing": "off",
1901
- "@stylistic/function-paren-newline": "off",
1902
- "@stylistic/generator-star-spacing": "off",
1903
- "@stylistic/implicit-arrow-linebreak": "off",
1904
- "@stylistic/indent": "off",
1905
- "@stylistic/jsx-quotes": "off",
1906
- "@stylistic/key-spacing": "off",
1907
- "@stylistic/keyword-spacing": "off",
1908
- "@stylistic/linebreak-style": "off",
1909
- "@stylistic/max-statements-per-line": "off",
1910
- "@stylistic/multiline-ternary": "off",
1911
- "@stylistic/new-parens": "off",
1912
- "@stylistic/newline-per-chained-call": "off",
1913
- "@stylistic/no-extra-parens": "off",
1914
- "@stylistic/no-extra-semi": "off",
1915
- "@stylistic/no-floating-decimal": "off",
1916
- "@stylistic/no-mixed-spaces-and-tabs": "off",
1917
- "@stylistic/no-multi-spaces": "off",
1918
- "@stylistic/no-multiple-empty-lines": "off",
1919
- "@stylistic/no-trailing-spaces": "off",
1920
- "@stylistic/no-whitespace-before-property": "off",
1921
- "@stylistic/nonblock-statement-body-position": "off",
1922
- "@stylistic/object-curly-newline": "off",
1923
- "@stylistic/object-curly-spacing": "off",
1924
- "@stylistic/object-property-newline": "off",
1925
- "@stylistic/one-var-declaration-per-line": "off",
1926
- "@stylistic/operator-linebreak": "off",
1927
- "@stylistic/padded-blocks": "off",
1928
- "@stylistic/quote-props": "off",
1929
- "@stylistic/rest-spread-spacing": "off",
1930
- "@stylistic/semi": "off",
1931
- "@stylistic/semi-spacing": "off",
1932
- "@stylistic/semi-style": "off",
1933
- "@stylistic/space-before-blocks": "off",
1934
- "@stylistic/space-before-function-paren": "off",
1935
- "@stylistic/space-in-parens": "off",
1936
- "@stylistic/space-infix-ops": "off",
1937
- "@stylistic/space-unary-ops": "off",
1938
- "@stylistic/switch-colon-spacing": "off",
1939
- "@stylistic/template-curly-spacing": "off",
1940
- "@stylistic/template-tag-spacing": "off",
1941
- "@stylistic/wrap-iife": "off",
1942
- "@stylistic/wrap-regex": "off",
1943
- "@stylistic/yield-star-spacing": "off",
1944
- "@stylistic/member-delimiter-style": "off",
1945
- "@stylistic/type-annotation-spacing": "off",
1946
- "@stylistic/jsx-child-element-spacing": "off",
1947
- "@stylistic/jsx-closing-bracket-location": "off",
1948
- "@stylistic/jsx-closing-tag-location": "off",
1949
- "@stylistic/jsx-curly-newline": "off",
1950
- "@stylistic/jsx-curly-spacing": "off",
1951
- "@stylistic/jsx-equals-spacing": "off",
1952
- "@stylistic/jsx-first-prop-new-line": "off",
1953
- "@stylistic/jsx-indent": "off",
1954
- "@stylistic/jsx-indent-props": "off",
1955
- "@stylistic/jsx-max-props-per-line": "off",
1956
- "@stylistic/jsx-newline": "off",
1957
- "@stylistic/jsx-one-expression-per-line": "off",
1958
- "@stylistic/jsx-props-no-multi-spaces": "off",
1959
- "@stylistic/jsx-tag-spacing": "off",
1960
- "@stylistic/jsx-wrap-multilines": "off",
1961
- "@stylistic/indent-binary-ops": "off",
1962
- "@stylistic/type-generic-spacing": "off",
1963
- "@stylistic/type-named-tuple-spacing": "off",
1964
- "@stylistic/js/array-bracket-newline": "off",
1965
- "@stylistic/js/array-bracket-spacing": "off",
1966
- "@stylistic/js/array-element-newline": "off",
1967
- "@stylistic/js/arrow-parens": "off",
1968
- "@stylistic/js/arrow-spacing": "off",
1969
- "@stylistic/js/block-spacing": "off",
1970
- "@stylistic/js/brace-style": "off",
1971
- "@stylistic/js/comma-dangle": "off",
1972
- "@stylistic/js/comma-spacing": "off",
1973
- "@stylistic/js/comma-style": "off",
1974
- "@stylistic/js/computed-property-spacing": "off",
1975
- "@stylistic/js/dot-location": "off",
1976
- "@stylistic/js/eol-last": "off",
1977
- "@stylistic/js/func-call-spacing": "off",
1978
- "@stylistic/js/function-call-argument-newline": "off",
1979
- "@stylistic/js/function-call-spacing": "off",
1980
- "@stylistic/js/function-paren-newline": "off",
1981
- "@stylistic/js/generator-star-spacing": "off",
1982
- "@stylistic/js/implicit-arrow-linebreak": "off",
1983
- "@stylistic/js/indent": "off",
1984
- "@stylistic/js/jsx-quotes": "off",
1985
- "@stylistic/js/key-spacing": "off",
1986
- "@stylistic/js/keyword-spacing": "off",
1987
- "@stylistic/js/linebreak-style": "off",
1988
- "@stylistic/js/max-statements-per-line": "off",
1989
- "@stylistic/js/multiline-ternary": "off",
1990
- "@stylistic/js/new-parens": "off",
1991
- "@stylistic/js/newline-per-chained-call": "off",
1992
- "@stylistic/js/no-extra-parens": "off",
1993
- "@stylistic/js/no-extra-semi": "off",
1994
- "@stylistic/js/no-floating-decimal": "off",
1995
- "@stylistic/js/no-mixed-spaces-and-tabs": "off",
1996
- "@stylistic/js/no-multi-spaces": "off",
1997
- "@stylistic/js/no-multiple-empty-lines": "off",
1998
- "@stylistic/js/no-trailing-spaces": "off",
1999
- "@stylistic/js/no-whitespace-before-property": "off",
2000
- "@stylistic/js/nonblock-statement-body-position": "off",
2001
- "@stylistic/js/object-curly-newline": "off",
2002
- "@stylistic/js/object-curly-spacing": "off",
2003
- "@stylistic/js/object-property-newline": "off",
2004
- "@stylistic/js/one-var-declaration-per-line": "off",
2005
- "@stylistic/js/operator-linebreak": "off",
2006
- "@stylistic/js/padded-blocks": "off",
2007
- "@stylistic/js/quote-props": "off",
2008
- "@stylistic/js/rest-spread-spacing": "off",
2009
- "@stylistic/js/semi": "off",
2010
- "@stylistic/js/semi-spacing": "off",
2011
- "@stylistic/js/semi-style": "off",
2012
- "@stylistic/js/space-before-blocks": "off",
2013
- "@stylistic/js/space-before-function-paren": "off",
2014
- "@stylistic/js/space-in-parens": "off",
2015
- "@stylistic/js/space-infix-ops": "off",
2016
- "@stylistic/js/space-unary-ops": "off",
2017
- "@stylistic/js/switch-colon-spacing": "off",
2018
- "@stylistic/js/template-curly-spacing": "off",
2019
- "@stylistic/js/template-tag-spacing": "off",
2020
- "@stylistic/js/wrap-iife": "off",
2021
- "@stylistic/js/wrap-regex": "off",
2022
- "@stylistic/js/yield-star-spacing": "off",
2023
- "@stylistic/ts/block-spacing": "off",
2024
- "@stylistic/ts/brace-style": "off",
2025
- "@stylistic/ts/comma-dangle": "off",
2026
- "@stylistic/ts/comma-spacing": "off",
2027
- "@stylistic/ts/func-call-spacing": "off",
2028
- "@stylistic/ts/function-call-spacing": "off",
2029
- "@stylistic/ts/indent": "off",
2030
- "@stylistic/ts/key-spacing": "off",
2031
- "@stylistic/ts/keyword-spacing": "off",
2032
- "@stylistic/ts/member-delimiter-style": "off",
2033
- "@stylistic/ts/no-extra-parens": "off",
2034
- "@stylistic/ts/no-extra-semi": "off",
2035
- "@stylistic/ts/object-curly-spacing": "off",
2036
- "@stylistic/ts/semi": "off",
2037
- "@stylistic/ts/space-before-blocks": "off",
2038
- "@stylistic/ts/space-before-function-paren": "off",
2039
- "@stylistic/ts/space-infix-ops": "off",
2040
- "@stylistic/ts/type-annotation-spacing": "off",
2041
- "@stylistic/jsx/jsx-child-element-spacing": "off",
2042
- "@stylistic/jsx/jsx-closing-bracket-location": "off",
2043
- "@stylistic/jsx/jsx-closing-tag-location": "off",
2044
- "@stylistic/jsx/jsx-curly-newline": "off",
2045
- "@stylistic/jsx/jsx-curly-spacing": "off",
2046
- "@stylistic/jsx/jsx-equals-spacing": "off",
2047
- "@stylistic/jsx/jsx-first-prop-new-line": "off",
2048
- "@stylistic/jsx/jsx-indent": "off",
2049
- "@stylistic/jsx/jsx-indent-props": "off",
2050
- "@stylistic/jsx/jsx-max-props-per-line": "off",
2051
1847
  "@typescript-eslint/block-spacing": "off",
2052
1848
  "@typescript-eslint/brace-style": "off",
2053
1849
  "@typescript-eslint/comma-dangle": "off",
@@ -2065,19 +1861,6 @@ export default [
2065
1861
  "@typescript-eslint/space-before-function-paren": "off",
2066
1862
  "@typescript-eslint/space-infix-ops": "off",
2067
1863
  "@typescript-eslint/type-annotation-spacing": "off",
2068
- "babel/object-curly-spacing": "off",
2069
- "babel/semi": "off",
2070
- "flowtype/boolean-style": "off",
2071
- "flowtype/delimiter-dangle": "off",
2072
- "flowtype/generic-spacing": "off",
2073
- "flowtype/object-type-curly-spacing": "off",
2074
- "flowtype/object-type-delimiter": "off",
2075
- "flowtype/quotes": "off",
2076
- "flowtype/semi": "off",
2077
- "flowtype/space-after-type-colon": "off",
2078
- "flowtype/space-before-generic-bracket": "off",
2079
- "flowtype/space-before-type-colon": "off",
2080
- "flowtype/union-intersection-spacing": "off",
2081
1864
  "react/jsx-child-element-spacing": "off",
2082
1865
  "react/jsx-closing-bracket-location": "off",
2083
1866
  "react/jsx-closing-tag-location": "off",
@@ -2093,496 +1876,33 @@ export default [
2093
1876
  "react/jsx-props-no-multi-spaces": "off",
2094
1877
  "react/jsx-tag-spacing": "off",
2095
1878
  "react/jsx-wrap-multilines": "off",
2096
- "standard/array-bracket-even-spacing": "off",
2097
- "standard/computed-property-even-spacing": "off",
2098
- "standard/object-curly-even-spacing": "off",
2099
1879
  "unicorn/empty-brace-spaces": "off",
2100
1880
  "unicorn/no-nested-ternary": "off",
2101
1881
  "unicorn/number-literal-case": "off",
2102
- "vue/array-bracket-newline": "off",
2103
- "vue/array-bracket-spacing": "off",
2104
- "vue/array-element-newline": "off",
2105
- "vue/arrow-spacing": "off",
2106
- "vue/block-spacing": "off",
2107
- "vue/block-tag-newline": "off",
2108
- "vue/brace-style": "off",
2109
- "vue/comma-dangle": "off",
2110
- "vue/comma-spacing": "off",
2111
- "vue/comma-style": "off",
2112
- "vue/dot-location": "off",
2113
- "vue/func-call-spacing": "off",
2114
- "vue/html-closing-bracket-newline": "off",
2115
- "vue/html-closing-bracket-spacing": "off",
2116
- "vue/html-end-tags": "off",
2117
- "vue/html-indent": "off",
2118
- "vue/html-quotes": "off",
2119
- "vue/key-spacing": "off",
2120
- "vue/keyword-spacing": "off",
2121
- "vue/max-attributes-per-line": "off",
2122
- "vue/multiline-html-element-content-newline": "off",
2123
- "vue/multiline-ternary": "off",
2124
- "vue/mustache-interpolation-spacing": "off",
2125
- "vue/no-extra-parens": "off",
2126
- "vue/no-multi-spaces": "off",
2127
- "vue/no-spaces-around-equal-signs-in-attribute": "off",
2128
- "vue/object-curly-newline": "off",
2129
- "vue/object-curly-spacing": "off",
2130
- "vue/object-property-newline": "off",
2131
- "vue/operator-linebreak": "off",
2132
- "vue/quote-props": "off",
2133
- "vue/script-indent": "off",
2134
- "vue/singleline-html-element-content-newline": "off",
2135
- "vue/space-in-parens": "off",
2136
- "vue/space-infix-ops": "off",
2137
- "vue/space-unary-ops": "off",
2138
- "vue/template-curly-spacing": "off",
2139
- "space-unary-word-ops": "off",
2140
- "generator-star": "off",
2141
- "no-comma-dangle": "off",
2142
- "no-reserved-keys": "off",
2143
- "no-space-before-semi": "off",
2144
- "no-wrap-func": "off",
2145
- "space-after-function-name": "off",
2146
- "space-before-function-parentheses": "off",
2147
- "space-in-brackets": "off",
2148
- "no-arrow-condition": "off",
2149
- "space-after-keywords": "off",
2150
- "space-before-keywords": "off",
2151
- "space-return-throw-case": "off",
2152
- "no-spaced-func": "off",
2153
- "indent-legacy": "off",
2154
- "array-bracket-newline": "off",
2155
- "array-bracket-spacing": "off",
2156
- "array-element-newline": "off",
2157
- "arrow-parens": "off",
2158
- "arrow-spacing": "off",
2159
- "block-spacing": "off",
2160
- "brace-style": "off",
2161
- "comma-dangle": "off",
2162
- "comma-spacing": "off",
2163
- "comma-style": "off",
2164
- "computed-property-spacing": "off",
2165
- "dot-location": "off",
2166
- "eol-last": "off",
2167
- "func-call-spacing": "off",
2168
- "function-call-argument-newline": "off",
2169
- "function-paren-newline": "off",
2170
- "generator-star-spacing": "off",
2171
- "implicit-arrow-linebreak": "off",
2172
- indent: "off",
2173
- "jsx-quotes": "off",
2174
- "key-spacing": "off",
2175
- "keyword-spacing": "off",
2176
- "linebreak-style": "off",
2177
- "lines-around-comment": 0,
2178
- "max-len": 0,
2179
- "max-statements-per-line": "off",
2180
- "multiline-ternary": "off",
2181
- "new-parens": "off",
2182
- "newline-per-chained-call": "off",
2183
- "no-confusing-arrow": 0,
2184
- "no-extra-parens": "off",
2185
- "no-extra-semi": "off",
2186
- "no-floating-decimal": "off",
2187
- "no-mixed-operators": 0,
2188
- "no-mixed-spaces-and-tabs": "off",
2189
- "no-multi-spaces": "off",
2190
- "no-multiple-empty-lines": "off",
2191
- "no-tabs": 0,
2192
- "no-trailing-spaces": "off",
2193
- "no-whitespace-before-property": "off",
2194
- "nonblock-statement-body-position": "off",
2195
- "object-curly-newline": "off",
2196
- "object-curly-spacing": "off",
2197
- "object-property-newline": "off",
2198
- "one-var-declaration-per-line": "off",
2199
- "operator-linebreak": "off",
2200
- "padded-blocks": "off",
2201
- "quote-props": "off",
2202
- quotes: 0,
2203
- "rest-spread-spacing": "off",
2204
- semi: "off",
2205
- "semi-spacing": "off",
2206
- "semi-style": "off",
2207
- "space-before-blocks": "off",
2208
- "space-before-function-paren": "off",
2209
- "space-in-parens": "off",
2210
- "space-infix-ops": "off",
2211
- "space-unary-ops": "off",
2212
- "switch-colon-spacing": "off",
2213
- "template-curly-spacing": "off",
2214
- "template-tag-spacing": "off",
2215
- "wrap-iife": "off",
2216
- "wrap-regex": "off",
2217
- "yield-star-spacing": "off",
2218
- "react/jsx-space-before-closing": "off",
2219
- "prettier/prettier": "error",
2220
1882
  },
2221
1883
  },
2222
1884
  {
2223
1885
  plugins: {
2224
- prettier: plugin0010,
1886
+ vitest: plugin0009,
2225
1887
  },
2226
1888
  rules: {
2227
- curly: 0,
2228
- "no-unexpected-multiline": 0,
2229
- "@stylistic/lines-around-comment": 0,
2230
- "@stylistic/max-len": 0,
2231
- "@stylistic/no-confusing-arrow": 0,
2232
- "@stylistic/no-mixed-operators": 0,
2233
- "@stylistic/no-tabs": 0,
2234
- "@stylistic/quotes": 0,
2235
- "@stylistic/js/lines-around-comment": 0,
2236
- "@stylistic/js/max-len": 0,
2237
- "@stylistic/js/no-confusing-arrow": 0,
2238
- "@stylistic/js/no-mixed-operators": 0,
2239
- "@stylistic/js/no-tabs": 0,
2240
- "@stylistic/js/quotes": 0,
2241
- "@stylistic/ts/lines-around-comment": 0,
2242
- "@stylistic/ts/quotes": 0,
2243
- "@typescript-eslint/lines-around-comment": 0,
2244
- "@typescript-eslint/quotes": 0,
2245
- "babel/quotes": 0,
2246
- "unicorn/template-indent": 0,
2247
- "vue/html-self-closing": 0,
2248
- "vue/max-len": 0,
2249
- "@babel/object-curly-spacing": "off",
2250
- "@babel/semi": "off",
2251
- "@stylistic/array-bracket-newline": "off",
2252
- "@stylistic/array-bracket-spacing": "off",
2253
- "@stylistic/array-element-newline": "off",
2254
- "@stylistic/arrow-parens": "off",
2255
- "@stylistic/arrow-spacing": "off",
2256
- "@stylistic/block-spacing": "off",
2257
- "@stylistic/brace-style": "off",
2258
- "@stylistic/comma-dangle": "off",
2259
- "@stylistic/comma-spacing": "off",
2260
- "@stylistic/comma-style": "off",
2261
- "@stylistic/computed-property-spacing": "off",
2262
- "@stylistic/dot-location": "off",
2263
- "@stylistic/eol-last": "off",
2264
- "@stylistic/func-call-spacing": "off",
2265
- "@stylistic/function-call-argument-newline": "off",
2266
- "@stylistic/function-call-spacing": "off",
2267
- "@stylistic/function-paren-newline": "off",
2268
- "@stylistic/generator-star-spacing": "off",
2269
- "@stylistic/implicit-arrow-linebreak": "off",
2270
- "@stylistic/indent": "off",
2271
- "@stylistic/jsx-quotes": "off",
2272
- "@stylistic/key-spacing": "off",
2273
- "@stylistic/keyword-spacing": "off",
2274
- "@stylistic/linebreak-style": "off",
2275
- "@stylistic/max-statements-per-line": "off",
2276
- "@stylistic/multiline-ternary": "off",
2277
- "@stylistic/new-parens": "off",
2278
- "@stylistic/newline-per-chained-call": "off",
2279
- "@stylistic/no-extra-parens": "off",
2280
- "@stylistic/no-extra-semi": "off",
2281
- "@stylistic/no-floating-decimal": "off",
2282
- "@stylistic/no-mixed-spaces-and-tabs": "off",
2283
- "@stylistic/no-multi-spaces": "off",
2284
- "@stylistic/no-multiple-empty-lines": "off",
2285
- "@stylistic/no-trailing-spaces": "off",
2286
- "@stylistic/no-whitespace-before-property": "off",
2287
- "@stylistic/nonblock-statement-body-position": "off",
2288
- "@stylistic/object-curly-newline": "off",
2289
- "@stylistic/object-curly-spacing": "off",
2290
- "@stylistic/object-property-newline": "off",
2291
- "@stylistic/one-var-declaration-per-line": "off",
2292
- "@stylistic/operator-linebreak": "off",
2293
- "@stylistic/padded-blocks": "off",
2294
- "@stylistic/quote-props": "off",
2295
- "@stylistic/rest-spread-spacing": "off",
2296
- "@stylistic/semi": "off",
2297
- "@stylistic/semi-spacing": "off",
2298
- "@stylistic/semi-style": "off",
2299
- "@stylistic/space-before-blocks": "off",
2300
- "@stylistic/space-before-function-paren": "off",
2301
- "@stylistic/space-in-parens": "off",
2302
- "@stylistic/space-infix-ops": "off",
2303
- "@stylistic/space-unary-ops": "off",
2304
- "@stylistic/switch-colon-spacing": "off",
2305
- "@stylistic/template-curly-spacing": "off",
2306
- "@stylistic/template-tag-spacing": "off",
2307
- "@stylistic/wrap-iife": "off",
2308
- "@stylistic/wrap-regex": "off",
2309
- "@stylistic/yield-star-spacing": "off",
2310
- "@stylistic/member-delimiter-style": "off",
2311
- "@stylistic/type-annotation-spacing": "off",
2312
- "@stylistic/jsx-child-element-spacing": "off",
2313
- "@stylistic/jsx-closing-bracket-location": "off",
2314
- "@stylistic/jsx-closing-tag-location": "off",
2315
- "@stylistic/jsx-curly-newline": "off",
2316
- "@stylistic/jsx-curly-spacing": "off",
2317
- "@stylistic/jsx-equals-spacing": "off",
2318
- "@stylistic/jsx-first-prop-new-line": "off",
2319
- "@stylistic/jsx-indent": "off",
2320
- "@stylistic/jsx-indent-props": "off",
2321
- "@stylistic/jsx-max-props-per-line": "off",
2322
- "@stylistic/jsx-newline": "off",
2323
- "@stylistic/jsx-one-expression-per-line": "off",
2324
- "@stylistic/jsx-props-no-multi-spaces": "off",
2325
- "@stylistic/jsx-tag-spacing": "off",
2326
- "@stylistic/jsx-wrap-multilines": "off",
2327
- "@stylistic/indent-binary-ops": "off",
2328
- "@stylistic/type-generic-spacing": "off",
2329
- "@stylistic/type-named-tuple-spacing": "off",
2330
- "@stylistic/js/array-bracket-newline": "off",
2331
- "@stylistic/js/array-bracket-spacing": "off",
2332
- "@stylistic/js/array-element-newline": "off",
2333
- "@stylistic/js/arrow-parens": "off",
2334
- "@stylistic/js/arrow-spacing": "off",
2335
- "@stylistic/js/block-spacing": "off",
2336
- "@stylistic/js/brace-style": "off",
2337
- "@stylistic/js/comma-dangle": "off",
2338
- "@stylistic/js/comma-spacing": "off",
2339
- "@stylistic/js/comma-style": "off",
2340
- "@stylistic/js/computed-property-spacing": "off",
2341
- "@stylistic/js/dot-location": "off",
2342
- "@stylistic/js/eol-last": "off",
2343
- "@stylistic/js/func-call-spacing": "off",
2344
- "@stylistic/js/function-call-argument-newline": "off",
2345
- "@stylistic/js/function-call-spacing": "off",
2346
- "@stylistic/js/function-paren-newline": "off",
2347
- "@stylistic/js/generator-star-spacing": "off",
2348
- "@stylistic/js/implicit-arrow-linebreak": "off",
2349
- "@stylistic/js/indent": "off",
2350
- "@stylistic/js/jsx-quotes": "off",
2351
- "@stylistic/js/key-spacing": "off",
2352
- "@stylistic/js/keyword-spacing": "off",
2353
- "@stylistic/js/linebreak-style": "off",
2354
- "@stylistic/js/max-statements-per-line": "off",
2355
- "@stylistic/js/multiline-ternary": "off",
2356
- "@stylistic/js/new-parens": "off",
2357
- "@stylistic/js/newline-per-chained-call": "off",
2358
- "@stylistic/js/no-extra-parens": "off",
2359
- "@stylistic/js/no-extra-semi": "off",
2360
- "@stylistic/js/no-floating-decimal": "off",
2361
- "@stylistic/js/no-mixed-spaces-and-tabs": "off",
2362
- "@stylistic/js/no-multi-spaces": "off",
2363
- "@stylistic/js/no-multiple-empty-lines": "off",
2364
- "@stylistic/js/no-trailing-spaces": "off",
2365
- "@stylistic/js/no-whitespace-before-property": "off",
2366
- "@stylistic/js/nonblock-statement-body-position": "off",
2367
- "@stylistic/js/object-curly-newline": "off",
2368
- "@stylistic/js/object-curly-spacing": "off",
2369
- "@stylistic/js/object-property-newline": "off",
2370
- "@stylistic/js/one-var-declaration-per-line": "off",
2371
- "@stylistic/js/operator-linebreak": "off",
2372
- "@stylistic/js/padded-blocks": "off",
2373
- "@stylistic/js/quote-props": "off",
2374
- "@stylistic/js/rest-spread-spacing": "off",
2375
- "@stylistic/js/semi": "off",
2376
- "@stylistic/js/semi-spacing": "off",
2377
- "@stylistic/js/semi-style": "off",
2378
- "@stylistic/js/space-before-blocks": "off",
2379
- "@stylistic/js/space-before-function-paren": "off",
2380
- "@stylistic/js/space-in-parens": "off",
2381
- "@stylistic/js/space-infix-ops": "off",
2382
- "@stylistic/js/space-unary-ops": "off",
2383
- "@stylistic/js/switch-colon-spacing": "off",
2384
- "@stylistic/js/template-curly-spacing": "off",
2385
- "@stylistic/js/template-tag-spacing": "off",
2386
- "@stylistic/js/wrap-iife": "off",
2387
- "@stylistic/js/wrap-regex": "off",
2388
- "@stylistic/js/yield-star-spacing": "off",
2389
- "@stylistic/ts/block-spacing": "off",
2390
- "@stylistic/ts/brace-style": "off",
2391
- "@stylistic/ts/comma-dangle": "off",
2392
- "@stylistic/ts/comma-spacing": "off",
2393
- "@stylistic/ts/func-call-spacing": "off",
2394
- "@stylistic/ts/function-call-spacing": "off",
2395
- "@stylistic/ts/indent": "off",
2396
- "@stylistic/ts/key-spacing": "off",
2397
- "@stylistic/ts/keyword-spacing": "off",
2398
- "@stylistic/ts/member-delimiter-style": "off",
2399
- "@stylistic/ts/no-extra-parens": "off",
2400
- "@stylistic/ts/no-extra-semi": "off",
2401
- "@stylistic/ts/object-curly-spacing": "off",
2402
- "@stylistic/ts/semi": "off",
2403
- "@stylistic/ts/space-before-blocks": "off",
2404
- "@stylistic/ts/space-before-function-paren": "off",
2405
- "@stylistic/ts/space-infix-ops": "off",
2406
- "@stylistic/ts/type-annotation-spacing": "off",
2407
- "@stylistic/jsx/jsx-child-element-spacing": "off",
2408
- "@stylistic/jsx/jsx-closing-bracket-location": "off",
2409
- "@stylistic/jsx/jsx-closing-tag-location": "off",
2410
- "@stylistic/jsx/jsx-curly-newline": "off",
2411
- "@stylistic/jsx/jsx-curly-spacing": "off",
2412
- "@stylistic/jsx/jsx-equals-spacing": "off",
2413
- "@stylistic/jsx/jsx-first-prop-new-line": "off",
2414
- "@stylistic/jsx/jsx-indent": "off",
2415
- "@stylistic/jsx/jsx-indent-props": "off",
2416
- "@stylistic/jsx/jsx-max-props-per-line": "off",
2417
- "@typescript-eslint/block-spacing": "off",
2418
- "@typescript-eslint/brace-style": "off",
2419
- "@typescript-eslint/comma-dangle": "off",
2420
- "@typescript-eslint/comma-spacing": "off",
2421
- "@typescript-eslint/func-call-spacing": "off",
2422
- "@typescript-eslint/indent": "off",
2423
- "@typescript-eslint/key-spacing": "off",
2424
- "@typescript-eslint/keyword-spacing": "off",
2425
- "@typescript-eslint/member-delimiter-style": "off",
2426
- "@typescript-eslint/no-extra-parens": "off",
2427
- "@typescript-eslint/no-extra-semi": "off",
2428
- "@typescript-eslint/object-curly-spacing": "off",
2429
- "@typescript-eslint/semi": "off",
2430
- "@typescript-eslint/space-before-blocks": "off",
2431
- "@typescript-eslint/space-before-function-paren": "off",
2432
- "@typescript-eslint/space-infix-ops": "off",
2433
- "@typescript-eslint/type-annotation-spacing": "off",
2434
- "babel/object-curly-spacing": "off",
2435
- "babel/semi": "off",
2436
- "flowtype/boolean-style": "off",
2437
- "flowtype/delimiter-dangle": "off",
2438
- "flowtype/generic-spacing": "off",
2439
- "flowtype/object-type-curly-spacing": "off",
2440
- "flowtype/object-type-delimiter": "off",
2441
- "flowtype/quotes": "off",
2442
- "flowtype/semi": "off",
2443
- "flowtype/space-after-type-colon": "off",
2444
- "flowtype/space-before-generic-bracket": "off",
2445
- "flowtype/space-before-type-colon": "off",
2446
- "flowtype/union-intersection-spacing": "off",
2447
- "react/jsx-child-element-spacing": "off",
2448
- "react/jsx-closing-bracket-location": "off",
2449
- "react/jsx-closing-tag-location": "off",
2450
- "react/jsx-curly-newline": "off",
2451
- "react/jsx-curly-spacing": "off",
2452
- "react/jsx-equals-spacing": "off",
2453
- "react/jsx-first-prop-new-line": "off",
2454
- "react/jsx-indent": "off",
2455
- "react/jsx-indent-props": "off",
2456
- "react/jsx-max-props-per-line": "off",
2457
- "react/jsx-newline": "off",
2458
- "react/jsx-one-expression-per-line": "off",
2459
- "react/jsx-props-no-multi-spaces": "off",
2460
- "react/jsx-tag-spacing": "off",
2461
- "react/jsx-wrap-multilines": "off",
2462
- "standard/array-bracket-even-spacing": "off",
2463
- "standard/computed-property-even-spacing": "off",
2464
- "standard/object-curly-even-spacing": "off",
2465
- "unicorn/empty-brace-spaces": "off",
2466
- "unicorn/no-nested-ternary": "off",
2467
- "unicorn/number-literal-case": "off",
2468
- "vue/array-bracket-newline": "off",
2469
- "vue/array-bracket-spacing": "off",
2470
- "vue/array-element-newline": "off",
2471
- "vue/arrow-spacing": "off",
2472
- "vue/block-spacing": "off",
2473
- "vue/block-tag-newline": "off",
2474
- "vue/brace-style": "off",
2475
- "vue/comma-dangle": "off",
2476
- "vue/comma-spacing": "off",
2477
- "vue/comma-style": "off",
2478
- "vue/dot-location": "off",
2479
- "vue/func-call-spacing": "off",
2480
- "vue/html-closing-bracket-newline": "off",
2481
- "vue/html-closing-bracket-spacing": "off",
2482
- "vue/html-end-tags": "off",
2483
- "vue/html-indent": "off",
2484
- "vue/html-quotes": "off",
2485
- "vue/key-spacing": "off",
2486
- "vue/keyword-spacing": "off",
2487
- "vue/max-attributes-per-line": "off",
2488
- "vue/multiline-html-element-content-newline": "off",
2489
- "vue/multiline-ternary": "off",
2490
- "vue/mustache-interpolation-spacing": "off",
2491
- "vue/no-extra-parens": "off",
2492
- "vue/no-multi-spaces": "off",
2493
- "vue/no-spaces-around-equal-signs-in-attribute": "off",
2494
- "vue/object-curly-newline": "off",
2495
- "vue/object-curly-spacing": "off",
2496
- "vue/object-property-newline": "off",
2497
- "vue/operator-linebreak": "off",
2498
- "vue/quote-props": "off",
2499
- "vue/script-indent": "off",
2500
- "vue/singleline-html-element-content-newline": "off",
2501
- "vue/space-in-parens": "off",
2502
- "vue/space-infix-ops": "off",
2503
- "vue/space-unary-ops": "off",
2504
- "vue/template-curly-spacing": "off",
2505
- "space-unary-word-ops": "off",
2506
- "generator-star": "off",
2507
- "no-comma-dangle": "off",
2508
- "no-reserved-keys": "off",
2509
- "no-space-before-semi": "off",
2510
- "no-wrap-func": "off",
2511
- "space-after-function-name": "off",
2512
- "space-before-function-parentheses": "off",
2513
- "space-in-brackets": "off",
2514
- "no-arrow-condition": "off",
2515
- "space-after-keywords": "off",
2516
- "space-before-keywords": "off",
2517
- "space-return-throw-case": "off",
2518
- "no-spaced-func": "off",
2519
- "indent-legacy": "off",
2520
- "array-bracket-newline": "off",
2521
- "array-bracket-spacing": "off",
2522
- "array-element-newline": "off",
2523
- "arrow-parens": "off",
2524
- "arrow-spacing": "off",
2525
- "block-spacing": "off",
2526
- "brace-style": "off",
2527
- "comma-dangle": "off",
2528
- "comma-spacing": "off",
2529
- "comma-style": "off",
2530
- "computed-property-spacing": "off",
2531
- "dot-location": "off",
2532
- "eol-last": "off",
2533
- "func-call-spacing": "off",
2534
- "function-call-argument-newline": "off",
2535
- "function-paren-newline": "off",
2536
- "generator-star-spacing": "off",
2537
- "implicit-arrow-linebreak": "off",
2538
- indent: "off",
2539
- "jsx-quotes": "off",
2540
- "key-spacing": "off",
2541
- "keyword-spacing": "off",
2542
- "linebreak-style": "off",
2543
- "lines-around-comment": 0,
2544
- "max-len": 0,
2545
- "max-statements-per-line": "off",
2546
- "multiline-ternary": "off",
2547
- "new-parens": "off",
2548
- "newline-per-chained-call": "off",
2549
- "no-confusing-arrow": 0,
2550
- "no-extra-parens": "off",
2551
- "no-extra-semi": "off",
2552
- "no-floating-decimal": "off",
2553
- "no-mixed-operators": 0,
2554
- "no-mixed-spaces-and-tabs": "off",
2555
- "no-multi-spaces": "off",
2556
- "no-multiple-empty-lines": "off",
2557
- "no-tabs": 0,
2558
- "no-trailing-spaces": "off",
2559
- "no-whitespace-before-property": "off",
2560
- "nonblock-statement-body-position": "off",
2561
- "object-curly-newline": "off",
2562
- "object-curly-spacing": "off",
2563
- "object-property-newline": "off",
2564
- "one-var-declaration-per-line": "off",
2565
- "operator-linebreak": "off",
2566
- "padded-blocks": "off",
2567
- "quote-props": "off",
2568
- quotes: 0,
2569
- "rest-spread-spacing": "off",
2570
- semi: "off",
2571
- "semi-spacing": "off",
2572
- "semi-style": "off",
2573
- "space-before-blocks": "off",
2574
- "space-before-function-paren": "off",
2575
- "space-in-parens": "off",
2576
- "space-infix-ops": "off",
2577
- "space-unary-ops": "off",
2578
- "switch-colon-spacing": "off",
2579
- "template-curly-spacing": "off",
2580
- "template-tag-spacing": "off",
2581
- "wrap-iife": "off",
2582
- "wrap-regex": "off",
2583
- "yield-star-spacing": "off",
2584
- "react/jsx-space-before-closing": "off",
2585
- "prettier/prettier": "error",
1889
+ "vitest/expect-expect": "off",
1890
+ "vitest/no-conditional-expect": "error",
1891
+ "vitest/no-disabled-tests": "warn",
1892
+ "vitest/no-focused-tests": "warn",
1893
+ "vitest/no-commented-out-tests": "warn",
1894
+ "vitest/no-identical-title": "warn",
1895
+ "vitest/no-import-node-test": "error",
1896
+ "vitest/no-interpolation-in-snapshots": "error",
1897
+ "vitest/no-mocks-import": "error",
1898
+ "vitest/no-standalone-expect": "error",
1899
+ "vitest/no-unneeded-async-expect-function": "error",
1900
+ "vitest/prefer-called-exactly-once-with": "error",
1901
+ "vitest/require-local-test-context-for-concurrent-snapshots": "error",
1902
+ "vitest/valid-describe-callback": "error",
1903
+ "vitest/valid-expect": "warn",
1904
+ "vitest/valid-expect-in-promise": "error",
1905
+ "vitest/valid-title": "error",
2586
1906
  },
2587
1907
  },
2588
1908
  ];