@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.
- package/LICENSE +7 -0
- package/PACKAGES_V8.md +23 -26
- package/PACKAGES_V9.md +24 -29
- package/README.md +22 -0
- package/dist/base.js +62 -9
- package/dist/base.json +59 -11
- package/dist/browser-esm.js +37 -351
- package/dist/browser-esm.json +60 -13
- package/dist/browser.js +23 -337
- package/dist/browser.json +60 -13
- package/dist/esm-react-cypress.js +62 -376
- package/dist/esm-react-cypress.json +59 -12
- package/dist/esm-react-vitest-storybook.js +62 -376
- package/dist/esm-react-vitest-storybook.json +59 -12
- package/dist/esm-react-vitest.js +62 -376
- package/dist/esm-react-vitest.json +59 -12
- package/dist/esm-react.js +62 -376
- package/dist/esm-react.json +59 -12
- package/dist/esm-vitest.js +56 -370
- package/dist/esm-vitest.json +59 -12
- package/dist/esm.js +32 -346
- package/dist/esm.json +60 -13
- package/dist/react-cypress.js +62 -376
- package/dist/react-cypress.json +59 -12
- package/dist/react-vitest.js +62 -376
- package/dist/react-vitest.json +59 -12
- package/dist/react.js +62 -376
- package/dist/react.json +59 -12
- package/dist/vitest.js +36 -716
- package/dist/vitest.json +59 -13
- package/package.json +15 -59
- package/dist/oxfmt-browser-esm.d.ts +0 -12
- package/dist/oxfmt-browser-esm.js +0 -1859
- package/dist/oxfmt-browser.d.ts +0 -12
- package/dist/oxfmt-browser.js +0 -1844
- package/dist/oxfmt-esm-react-cypress.d.ts +0 -12
- package/dist/oxfmt-esm-react-cypress.js +0 -1942
- package/dist/oxfmt-esm-react-vitest-storybook.d.ts +0 -12
- package/dist/oxfmt-esm-react-vitest-storybook.js +0 -1964
- package/dist/oxfmt-esm-react-vitest.d.ts +0 -12
- package/dist/oxfmt-esm-react-vitest.js +0 -1930
- package/dist/oxfmt-esm-react.d.ts +0 -12
- package/dist/oxfmt-esm-react.js +0 -1905
- package/dist/oxfmt-esm-vitest.d.ts +0 -12
- package/dist/oxfmt-esm-vitest.js +0 -1879
- package/dist/oxfmt-esm.d.ts +0 -12
- package/dist/oxfmt-esm.js +0 -1854
- package/dist/oxfmt-react-cypress.d.ts +0 -12
- package/dist/oxfmt-react-cypress.js +0 -1933
- package/dist/oxfmt-react-vitest.d.ts +0 -12
- package/dist/oxfmt-react-vitest.js +0 -1921
- package/dist/oxfmt-react.d.ts +0 -12
- package/dist/oxfmt-react.js +0 -1896
- package/dist/oxfmt-vitest.d.ts +0 -12
- package/dist/oxfmt-vitest.js +0 -2231
- package/dist/oxfmt.d.ts +0 -12
- package/dist/oxfmt.js +0 -1839
- package/dist/prettier.d.ts +0 -12
- package/dist/prettier.js +0 -2197
- package/dist/prettier.json +0 -1451
package/dist/browser-esm.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 "eslint-plugin-import-esm";
|
|
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,219 +1838,12 @@ export default [
|
|
|
1830
1838
|
],
|
|
1831
1839
|
},
|
|
1832
1840
|
{
|
|
1833
|
-
languageOptions: {
|
|
1834
|
-
globals: { ...globals.browser },
|
|
1835
|
-
},
|
|
1836
|
-
},
|
|
1837
|
-
{
|
|
1838
|
-
languageOptions: {
|
|
1839
|
-
ecmaVersion: 2022,
|
|
1840
|
-
sourceType: "module",
|
|
1841
|
-
},
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
plugins: {
|
|
1845
|
-
"import-esm": plugin0009,
|
|
1846
|
-
},
|
|
1847
|
-
rules: {
|
|
1848
|
-
"import-esm/explicit-extension": "error",
|
|
1849
|
-
},
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
plugins: {
|
|
1853
|
-
prettier: plugin0010,
|
|
1854
|
-
},
|
|
1855
1841
|
rules: {
|
|
1856
1842
|
curly: 0,
|
|
1857
1843
|
"no-unexpected-multiline": 0,
|
|
1858
|
-
"@stylistic/lines-around-comment": 0,
|
|
1859
|
-
"@stylistic/max-len": 0,
|
|
1860
|
-
"@stylistic/no-confusing-arrow": 0,
|
|
1861
|
-
"@stylistic/no-mixed-operators": 0,
|
|
1862
|
-
"@stylistic/no-tabs": 0,
|
|
1863
|
-
"@stylistic/quotes": 0,
|
|
1864
|
-
"@stylistic/js/lines-around-comment": 0,
|
|
1865
|
-
"@stylistic/js/max-len": 0,
|
|
1866
|
-
"@stylistic/js/no-confusing-arrow": 0,
|
|
1867
|
-
"@stylistic/js/no-mixed-operators": 0,
|
|
1868
|
-
"@stylistic/js/no-tabs": 0,
|
|
1869
|
-
"@stylistic/js/quotes": 0,
|
|
1870
|
-
"@stylistic/ts/lines-around-comment": 0,
|
|
1871
|
-
"@stylistic/ts/quotes": 0,
|
|
1872
1844
|
"@typescript-eslint/lines-around-comment": 0,
|
|
1873
1845
|
"@typescript-eslint/quotes": 0,
|
|
1874
|
-
"babel/quotes": 0,
|
|
1875
1846
|
"unicorn/template-indent": 0,
|
|
1876
|
-
"vue/html-self-closing": 0,
|
|
1877
|
-
"vue/max-len": 0,
|
|
1878
|
-
"@babel/object-curly-spacing": "off",
|
|
1879
|
-
"@babel/semi": "off",
|
|
1880
|
-
"@stylistic/array-bracket-newline": "off",
|
|
1881
|
-
"@stylistic/array-bracket-spacing": "off",
|
|
1882
|
-
"@stylistic/array-element-newline": "off",
|
|
1883
|
-
"@stylistic/arrow-parens": "off",
|
|
1884
|
-
"@stylistic/arrow-spacing": "off",
|
|
1885
|
-
"@stylistic/block-spacing": "off",
|
|
1886
|
-
"@stylistic/brace-style": "off",
|
|
1887
|
-
"@stylistic/comma-dangle": "off",
|
|
1888
|
-
"@stylistic/comma-spacing": "off",
|
|
1889
|
-
"@stylistic/comma-style": "off",
|
|
1890
|
-
"@stylistic/computed-property-spacing": "off",
|
|
1891
|
-
"@stylistic/dot-location": "off",
|
|
1892
|
-
"@stylistic/eol-last": "off",
|
|
1893
|
-
"@stylistic/func-call-spacing": "off",
|
|
1894
|
-
"@stylistic/function-call-argument-newline": "off",
|
|
1895
|
-
"@stylistic/function-call-spacing": "off",
|
|
1896
|
-
"@stylistic/function-paren-newline": "off",
|
|
1897
|
-
"@stylistic/generator-star-spacing": "off",
|
|
1898
|
-
"@stylistic/implicit-arrow-linebreak": "off",
|
|
1899
|
-
"@stylistic/indent": "off",
|
|
1900
|
-
"@stylistic/jsx-quotes": "off",
|
|
1901
|
-
"@stylistic/key-spacing": "off",
|
|
1902
|
-
"@stylistic/keyword-spacing": "off",
|
|
1903
|
-
"@stylistic/linebreak-style": "off",
|
|
1904
|
-
"@stylistic/max-statements-per-line": "off",
|
|
1905
|
-
"@stylistic/multiline-ternary": "off",
|
|
1906
|
-
"@stylistic/new-parens": "off",
|
|
1907
|
-
"@stylistic/newline-per-chained-call": "off",
|
|
1908
|
-
"@stylistic/no-extra-parens": "off",
|
|
1909
|
-
"@stylistic/no-extra-semi": "off",
|
|
1910
|
-
"@stylistic/no-floating-decimal": "off",
|
|
1911
|
-
"@stylistic/no-mixed-spaces-and-tabs": "off",
|
|
1912
|
-
"@stylistic/no-multi-spaces": "off",
|
|
1913
|
-
"@stylistic/no-multiple-empty-lines": "off",
|
|
1914
|
-
"@stylistic/no-trailing-spaces": "off",
|
|
1915
|
-
"@stylistic/no-whitespace-before-property": "off",
|
|
1916
|
-
"@stylistic/nonblock-statement-body-position": "off",
|
|
1917
|
-
"@stylistic/object-curly-newline": "off",
|
|
1918
|
-
"@stylistic/object-curly-spacing": "off",
|
|
1919
|
-
"@stylistic/object-property-newline": "off",
|
|
1920
|
-
"@stylistic/one-var-declaration-per-line": "off",
|
|
1921
|
-
"@stylistic/operator-linebreak": "off",
|
|
1922
|
-
"@stylistic/padded-blocks": "off",
|
|
1923
|
-
"@stylistic/quote-props": "off",
|
|
1924
|
-
"@stylistic/rest-spread-spacing": "off",
|
|
1925
|
-
"@stylistic/semi": "off",
|
|
1926
|
-
"@stylistic/semi-spacing": "off",
|
|
1927
|
-
"@stylistic/semi-style": "off",
|
|
1928
|
-
"@stylistic/space-before-blocks": "off",
|
|
1929
|
-
"@stylistic/space-before-function-paren": "off",
|
|
1930
|
-
"@stylistic/space-in-parens": "off",
|
|
1931
|
-
"@stylistic/space-infix-ops": "off",
|
|
1932
|
-
"@stylistic/space-unary-ops": "off",
|
|
1933
|
-
"@stylistic/switch-colon-spacing": "off",
|
|
1934
|
-
"@stylistic/template-curly-spacing": "off",
|
|
1935
|
-
"@stylistic/template-tag-spacing": "off",
|
|
1936
|
-
"@stylistic/wrap-iife": "off",
|
|
1937
|
-
"@stylistic/wrap-regex": "off",
|
|
1938
|
-
"@stylistic/yield-star-spacing": "off",
|
|
1939
|
-
"@stylistic/member-delimiter-style": "off",
|
|
1940
|
-
"@stylistic/type-annotation-spacing": "off",
|
|
1941
|
-
"@stylistic/jsx-child-element-spacing": "off",
|
|
1942
|
-
"@stylistic/jsx-closing-bracket-location": "off",
|
|
1943
|
-
"@stylistic/jsx-closing-tag-location": "off",
|
|
1944
|
-
"@stylistic/jsx-curly-newline": "off",
|
|
1945
|
-
"@stylistic/jsx-curly-spacing": "off",
|
|
1946
|
-
"@stylistic/jsx-equals-spacing": "off",
|
|
1947
|
-
"@stylistic/jsx-first-prop-new-line": "off",
|
|
1948
|
-
"@stylistic/jsx-indent": "off",
|
|
1949
|
-
"@stylistic/jsx-indent-props": "off",
|
|
1950
|
-
"@stylistic/jsx-max-props-per-line": "off",
|
|
1951
|
-
"@stylistic/jsx-newline": "off",
|
|
1952
|
-
"@stylistic/jsx-one-expression-per-line": "off",
|
|
1953
|
-
"@stylistic/jsx-props-no-multi-spaces": "off",
|
|
1954
|
-
"@stylistic/jsx-tag-spacing": "off",
|
|
1955
|
-
"@stylistic/jsx-wrap-multilines": "off",
|
|
1956
|
-
"@stylistic/indent-binary-ops": "off",
|
|
1957
|
-
"@stylistic/type-generic-spacing": "off",
|
|
1958
|
-
"@stylistic/type-named-tuple-spacing": "off",
|
|
1959
|
-
"@stylistic/js/array-bracket-newline": "off",
|
|
1960
|
-
"@stylistic/js/array-bracket-spacing": "off",
|
|
1961
|
-
"@stylistic/js/array-element-newline": "off",
|
|
1962
|
-
"@stylistic/js/arrow-parens": "off",
|
|
1963
|
-
"@stylistic/js/arrow-spacing": "off",
|
|
1964
|
-
"@stylistic/js/block-spacing": "off",
|
|
1965
|
-
"@stylistic/js/brace-style": "off",
|
|
1966
|
-
"@stylistic/js/comma-dangle": "off",
|
|
1967
|
-
"@stylistic/js/comma-spacing": "off",
|
|
1968
|
-
"@stylistic/js/comma-style": "off",
|
|
1969
|
-
"@stylistic/js/computed-property-spacing": "off",
|
|
1970
|
-
"@stylistic/js/dot-location": "off",
|
|
1971
|
-
"@stylistic/js/eol-last": "off",
|
|
1972
|
-
"@stylistic/js/func-call-spacing": "off",
|
|
1973
|
-
"@stylistic/js/function-call-argument-newline": "off",
|
|
1974
|
-
"@stylistic/js/function-call-spacing": "off",
|
|
1975
|
-
"@stylistic/js/function-paren-newline": "off",
|
|
1976
|
-
"@stylistic/js/generator-star-spacing": "off",
|
|
1977
|
-
"@stylistic/js/implicit-arrow-linebreak": "off",
|
|
1978
|
-
"@stylistic/js/indent": "off",
|
|
1979
|
-
"@stylistic/js/jsx-quotes": "off",
|
|
1980
|
-
"@stylistic/js/key-spacing": "off",
|
|
1981
|
-
"@stylistic/js/keyword-spacing": "off",
|
|
1982
|
-
"@stylistic/js/linebreak-style": "off",
|
|
1983
|
-
"@stylistic/js/max-statements-per-line": "off",
|
|
1984
|
-
"@stylistic/js/multiline-ternary": "off",
|
|
1985
|
-
"@stylistic/js/new-parens": "off",
|
|
1986
|
-
"@stylistic/js/newline-per-chained-call": "off",
|
|
1987
|
-
"@stylistic/js/no-extra-parens": "off",
|
|
1988
|
-
"@stylistic/js/no-extra-semi": "off",
|
|
1989
|
-
"@stylistic/js/no-floating-decimal": "off",
|
|
1990
|
-
"@stylistic/js/no-mixed-spaces-and-tabs": "off",
|
|
1991
|
-
"@stylistic/js/no-multi-spaces": "off",
|
|
1992
|
-
"@stylistic/js/no-multiple-empty-lines": "off",
|
|
1993
|
-
"@stylistic/js/no-trailing-spaces": "off",
|
|
1994
|
-
"@stylistic/js/no-whitespace-before-property": "off",
|
|
1995
|
-
"@stylistic/js/nonblock-statement-body-position": "off",
|
|
1996
|
-
"@stylistic/js/object-curly-newline": "off",
|
|
1997
|
-
"@stylistic/js/object-curly-spacing": "off",
|
|
1998
|
-
"@stylistic/js/object-property-newline": "off",
|
|
1999
|
-
"@stylistic/js/one-var-declaration-per-line": "off",
|
|
2000
|
-
"@stylistic/js/operator-linebreak": "off",
|
|
2001
|
-
"@stylistic/js/padded-blocks": "off",
|
|
2002
|
-
"@stylistic/js/quote-props": "off",
|
|
2003
|
-
"@stylistic/js/rest-spread-spacing": "off",
|
|
2004
|
-
"@stylistic/js/semi": "off",
|
|
2005
|
-
"@stylistic/js/semi-spacing": "off",
|
|
2006
|
-
"@stylistic/js/semi-style": "off",
|
|
2007
|
-
"@stylistic/js/space-before-blocks": "off",
|
|
2008
|
-
"@stylistic/js/space-before-function-paren": "off",
|
|
2009
|
-
"@stylistic/js/space-in-parens": "off",
|
|
2010
|
-
"@stylistic/js/space-infix-ops": "off",
|
|
2011
|
-
"@stylistic/js/space-unary-ops": "off",
|
|
2012
|
-
"@stylistic/js/switch-colon-spacing": "off",
|
|
2013
|
-
"@stylistic/js/template-curly-spacing": "off",
|
|
2014
|
-
"@stylistic/js/template-tag-spacing": "off",
|
|
2015
|
-
"@stylistic/js/wrap-iife": "off",
|
|
2016
|
-
"@stylistic/js/wrap-regex": "off",
|
|
2017
|
-
"@stylistic/js/yield-star-spacing": "off",
|
|
2018
|
-
"@stylistic/ts/block-spacing": "off",
|
|
2019
|
-
"@stylistic/ts/brace-style": "off",
|
|
2020
|
-
"@stylistic/ts/comma-dangle": "off",
|
|
2021
|
-
"@stylistic/ts/comma-spacing": "off",
|
|
2022
|
-
"@stylistic/ts/func-call-spacing": "off",
|
|
2023
|
-
"@stylistic/ts/function-call-spacing": "off",
|
|
2024
|
-
"@stylistic/ts/indent": "off",
|
|
2025
|
-
"@stylistic/ts/key-spacing": "off",
|
|
2026
|
-
"@stylistic/ts/keyword-spacing": "off",
|
|
2027
|
-
"@stylistic/ts/member-delimiter-style": "off",
|
|
2028
|
-
"@stylistic/ts/no-extra-parens": "off",
|
|
2029
|
-
"@stylistic/ts/no-extra-semi": "off",
|
|
2030
|
-
"@stylistic/ts/object-curly-spacing": "off",
|
|
2031
|
-
"@stylistic/ts/semi": "off",
|
|
2032
|
-
"@stylistic/ts/space-before-blocks": "off",
|
|
2033
|
-
"@stylistic/ts/space-before-function-paren": "off",
|
|
2034
|
-
"@stylistic/ts/space-infix-ops": "off",
|
|
2035
|
-
"@stylistic/ts/type-annotation-spacing": "off",
|
|
2036
|
-
"@stylistic/jsx/jsx-child-element-spacing": "off",
|
|
2037
|
-
"@stylistic/jsx/jsx-closing-bracket-location": "off",
|
|
2038
|
-
"@stylistic/jsx/jsx-closing-tag-location": "off",
|
|
2039
|
-
"@stylistic/jsx/jsx-curly-newline": "off",
|
|
2040
|
-
"@stylistic/jsx/jsx-curly-spacing": "off",
|
|
2041
|
-
"@stylistic/jsx/jsx-equals-spacing": "off",
|
|
2042
|
-
"@stylistic/jsx/jsx-first-prop-new-line": "off",
|
|
2043
|
-
"@stylistic/jsx/jsx-indent": "off",
|
|
2044
|
-
"@stylistic/jsx/jsx-indent-props": "off",
|
|
2045
|
-
"@stylistic/jsx/jsx-max-props-per-line": "off",
|
|
2046
1847
|
"@typescript-eslint/block-spacing": "off",
|
|
2047
1848
|
"@typescript-eslint/brace-style": "off",
|
|
2048
1849
|
"@typescript-eslint/comma-dangle": "off",
|
|
@@ -2060,19 +1861,6 @@ export default [
|
|
|
2060
1861
|
"@typescript-eslint/space-before-function-paren": "off",
|
|
2061
1862
|
"@typescript-eslint/space-infix-ops": "off",
|
|
2062
1863
|
"@typescript-eslint/type-annotation-spacing": "off",
|
|
2063
|
-
"babel/object-curly-spacing": "off",
|
|
2064
|
-
"babel/semi": "off",
|
|
2065
|
-
"flowtype/boolean-style": "off",
|
|
2066
|
-
"flowtype/delimiter-dangle": "off",
|
|
2067
|
-
"flowtype/generic-spacing": "off",
|
|
2068
|
-
"flowtype/object-type-curly-spacing": "off",
|
|
2069
|
-
"flowtype/object-type-delimiter": "off",
|
|
2070
|
-
"flowtype/quotes": "off",
|
|
2071
|
-
"flowtype/semi": "off",
|
|
2072
|
-
"flowtype/space-after-type-colon": "off",
|
|
2073
|
-
"flowtype/space-before-generic-bracket": "off",
|
|
2074
|
-
"flowtype/space-before-type-colon": "off",
|
|
2075
|
-
"flowtype/union-intersection-spacing": "off",
|
|
2076
1864
|
"react/jsx-child-element-spacing": "off",
|
|
2077
1865
|
"react/jsx-closing-bracket-location": "off",
|
|
2078
1866
|
"react/jsx-closing-tag-location": "off",
|
|
@@ -2088,130 +1876,28 @@ export default [
|
|
|
2088
1876
|
"react/jsx-props-no-multi-spaces": "off",
|
|
2089
1877
|
"react/jsx-tag-spacing": "off",
|
|
2090
1878
|
"react/jsx-wrap-multilines": "off",
|
|
2091
|
-
"standard/array-bracket-even-spacing": "off",
|
|
2092
|
-
"standard/computed-property-even-spacing": "off",
|
|
2093
|
-
"standard/object-curly-even-spacing": "off",
|
|
2094
1879
|
"unicorn/empty-brace-spaces": "off",
|
|
2095
1880
|
"unicorn/no-nested-ternary": "off",
|
|
2096
1881
|
"unicorn/number-literal-case": "off",
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
"
|
|
2116
|
-
"vue/max-attributes-per-line": "off",
|
|
2117
|
-
"vue/multiline-html-element-content-newline": "off",
|
|
2118
|
-
"vue/multiline-ternary": "off",
|
|
2119
|
-
"vue/mustache-interpolation-spacing": "off",
|
|
2120
|
-
"vue/no-extra-parens": "off",
|
|
2121
|
-
"vue/no-multi-spaces": "off",
|
|
2122
|
-
"vue/no-spaces-around-equal-signs-in-attribute": "off",
|
|
2123
|
-
"vue/object-curly-newline": "off",
|
|
2124
|
-
"vue/object-curly-spacing": "off",
|
|
2125
|
-
"vue/object-property-newline": "off",
|
|
2126
|
-
"vue/operator-linebreak": "off",
|
|
2127
|
-
"vue/quote-props": "off",
|
|
2128
|
-
"vue/script-indent": "off",
|
|
2129
|
-
"vue/singleline-html-element-content-newline": "off",
|
|
2130
|
-
"vue/space-in-parens": "off",
|
|
2131
|
-
"vue/space-infix-ops": "off",
|
|
2132
|
-
"vue/space-unary-ops": "off",
|
|
2133
|
-
"vue/template-curly-spacing": "off",
|
|
2134
|
-
"space-unary-word-ops": "off",
|
|
2135
|
-
"generator-star": "off",
|
|
2136
|
-
"no-comma-dangle": "off",
|
|
2137
|
-
"no-reserved-keys": "off",
|
|
2138
|
-
"no-space-before-semi": "off",
|
|
2139
|
-
"no-wrap-func": "off",
|
|
2140
|
-
"space-after-function-name": "off",
|
|
2141
|
-
"space-before-function-parentheses": "off",
|
|
2142
|
-
"space-in-brackets": "off",
|
|
2143
|
-
"no-arrow-condition": "off",
|
|
2144
|
-
"space-after-keywords": "off",
|
|
2145
|
-
"space-before-keywords": "off",
|
|
2146
|
-
"space-return-throw-case": "off",
|
|
2147
|
-
"no-spaced-func": "off",
|
|
2148
|
-
"indent-legacy": "off",
|
|
2149
|
-
"array-bracket-newline": "off",
|
|
2150
|
-
"array-bracket-spacing": "off",
|
|
2151
|
-
"array-element-newline": "off",
|
|
2152
|
-
"arrow-parens": "off",
|
|
2153
|
-
"arrow-spacing": "off",
|
|
2154
|
-
"block-spacing": "off",
|
|
2155
|
-
"brace-style": "off",
|
|
2156
|
-
"comma-dangle": "off",
|
|
2157
|
-
"comma-spacing": "off",
|
|
2158
|
-
"comma-style": "off",
|
|
2159
|
-
"computed-property-spacing": "off",
|
|
2160
|
-
"dot-location": "off",
|
|
2161
|
-
"eol-last": "off",
|
|
2162
|
-
"func-call-spacing": "off",
|
|
2163
|
-
"function-call-argument-newline": "off",
|
|
2164
|
-
"function-paren-newline": "off",
|
|
2165
|
-
"generator-star-spacing": "off",
|
|
2166
|
-
"implicit-arrow-linebreak": "off",
|
|
2167
|
-
indent: "off",
|
|
2168
|
-
"jsx-quotes": "off",
|
|
2169
|
-
"key-spacing": "off",
|
|
2170
|
-
"keyword-spacing": "off",
|
|
2171
|
-
"linebreak-style": "off",
|
|
2172
|
-
"lines-around-comment": 0,
|
|
2173
|
-
"max-len": 0,
|
|
2174
|
-
"max-statements-per-line": "off",
|
|
2175
|
-
"multiline-ternary": "off",
|
|
2176
|
-
"new-parens": "off",
|
|
2177
|
-
"newline-per-chained-call": "off",
|
|
2178
|
-
"no-confusing-arrow": 0,
|
|
2179
|
-
"no-extra-parens": "off",
|
|
2180
|
-
"no-extra-semi": "off",
|
|
2181
|
-
"no-floating-decimal": "off",
|
|
2182
|
-
"no-mixed-operators": 0,
|
|
2183
|
-
"no-mixed-spaces-and-tabs": "off",
|
|
2184
|
-
"no-multi-spaces": "off",
|
|
2185
|
-
"no-multiple-empty-lines": "off",
|
|
2186
|
-
"no-tabs": 0,
|
|
2187
|
-
"no-trailing-spaces": "off",
|
|
2188
|
-
"no-whitespace-before-property": "off",
|
|
2189
|
-
"nonblock-statement-body-position": "off",
|
|
2190
|
-
"object-curly-newline": "off",
|
|
2191
|
-
"object-curly-spacing": "off",
|
|
2192
|
-
"object-property-newline": "off",
|
|
2193
|
-
"one-var-declaration-per-line": "off",
|
|
2194
|
-
"operator-linebreak": "off",
|
|
2195
|
-
"padded-blocks": "off",
|
|
2196
|
-
"quote-props": "off",
|
|
2197
|
-
quotes: 0,
|
|
2198
|
-
"rest-spread-spacing": "off",
|
|
2199
|
-
semi: "off",
|
|
2200
|
-
"semi-spacing": "off",
|
|
2201
|
-
"semi-style": "off",
|
|
2202
|
-
"space-before-blocks": "off",
|
|
2203
|
-
"space-before-function-paren": "off",
|
|
2204
|
-
"space-in-parens": "off",
|
|
2205
|
-
"space-infix-ops": "off",
|
|
2206
|
-
"space-unary-ops": "off",
|
|
2207
|
-
"switch-colon-spacing": "off",
|
|
2208
|
-
"template-curly-spacing": "off",
|
|
2209
|
-
"template-tag-spacing": "off",
|
|
2210
|
-
"wrap-iife": "off",
|
|
2211
|
-
"wrap-regex": "off",
|
|
2212
|
-
"yield-star-spacing": "off",
|
|
2213
|
-
"react/jsx-space-before-closing": "off",
|
|
2214
|
-
"prettier/prettier": "error",
|
|
1882
|
+
},
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
languageOptions: {
|
|
1886
|
+
globals: { ...globals.browser },
|
|
1887
|
+
},
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
languageOptions: {
|
|
1891
|
+
ecmaVersion: 2022,
|
|
1892
|
+
sourceType: "module",
|
|
1893
|
+
},
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
plugins: {
|
|
1897
|
+
"import-esm": plugin0009,
|
|
1898
|
+
},
|
|
1899
|
+
rules: {
|
|
1900
|
+
"import-esm/explicit-extension": "error",
|
|
2215
1901
|
},
|
|
2216
1902
|
},
|
|
2217
1903
|
];
|
package/dist/browser-esm.json
CHANGED
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"plugin:import-x/recommended",
|
|
13
13
|
"plugin:regexp/recommended",
|
|
14
14
|
"plugin:sonarjs/recommended-legacy",
|
|
15
|
-
"plugin:import-esm/recommended"
|
|
16
|
-
"plugin:prettier/recommended"
|
|
15
|
+
"plugin:import-esm/recommended"
|
|
17
16
|
],
|
|
18
17
|
"rules": {
|
|
19
18
|
"no-console": [
|
|
@@ -54,6 +53,13 @@
|
|
|
54
53
|
],
|
|
55
54
|
"message": "Default import from React is not allowed. Use named imports instead."
|
|
56
55
|
},
|
|
56
|
+
{
|
|
57
|
+
"name": "react-dom",
|
|
58
|
+
"importNames": [
|
|
59
|
+
"default"
|
|
60
|
+
],
|
|
61
|
+
"message": "Default import from React DOM is not allowed. Use named imports instead."
|
|
62
|
+
},
|
|
57
63
|
{
|
|
58
64
|
"name": "@gooddata/sdk-ui-kit",
|
|
59
65
|
"importNames": [
|
|
@@ -561,6 +567,10 @@
|
|
|
561
567
|
{
|
|
562
568
|
"selector": "MemberExpression[object.name='React']",
|
|
563
569
|
"message": "Do not use `React.*`. Use named imports instead."
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"selector": "MemberExpression[object.name='ReactDOM']",
|
|
573
|
+
"message": "Do not use `ReactDOM.*`. Use named imports instead."
|
|
564
574
|
}
|
|
565
575
|
],
|
|
566
576
|
"sort-imports": [
|
|
@@ -580,16 +590,7 @@
|
|
|
580
590
|
}
|
|
581
591
|
],
|
|
582
592
|
"no-extra-boolean-cast": "error",
|
|
583
|
-
"no-unexpected-multiline":
|
|
584
|
-
"no-warning-comments": [
|
|
585
|
-
"warn",
|
|
586
|
-
{
|
|
587
|
-
"terms": [
|
|
588
|
-
"todo"
|
|
589
|
-
],
|
|
590
|
-
"location": "start"
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
+
"no-unexpected-multiline": 0,
|
|
593
594
|
"header/header": [
|
|
594
595
|
2,
|
|
595
596
|
"line",
|
|
@@ -716,7 +717,46 @@
|
|
|
716
717
|
"no-caller": 2,
|
|
717
718
|
"no-eval": 2,
|
|
718
719
|
"no-delete-var": 2,
|
|
719
|
-
"no-octal-escape": 2
|
|
720
|
+
"no-octal-escape": 2,
|
|
721
|
+
"curly": 0,
|
|
722
|
+
"@typescript-eslint/lines-around-comment": 0,
|
|
723
|
+
"@typescript-eslint/quotes": 0,
|
|
724
|
+
"unicorn/template-indent": 0,
|
|
725
|
+
"@typescript-eslint/block-spacing": "off",
|
|
726
|
+
"@typescript-eslint/brace-style": "off",
|
|
727
|
+
"@typescript-eslint/comma-dangle": "off",
|
|
728
|
+
"@typescript-eslint/comma-spacing": "off",
|
|
729
|
+
"@typescript-eslint/func-call-spacing": "off",
|
|
730
|
+
"@typescript-eslint/indent": "off",
|
|
731
|
+
"@typescript-eslint/key-spacing": "off",
|
|
732
|
+
"@typescript-eslint/keyword-spacing": "off",
|
|
733
|
+
"@typescript-eslint/member-delimiter-style": "off",
|
|
734
|
+
"@typescript-eslint/no-extra-parens": "off",
|
|
735
|
+
"@typescript-eslint/no-extra-semi": "off",
|
|
736
|
+
"@typescript-eslint/object-curly-spacing": "off",
|
|
737
|
+
"@typescript-eslint/semi": "off",
|
|
738
|
+
"@typescript-eslint/space-before-blocks": "off",
|
|
739
|
+
"@typescript-eslint/space-before-function-paren": "off",
|
|
740
|
+
"@typescript-eslint/space-infix-ops": "off",
|
|
741
|
+
"@typescript-eslint/type-annotation-spacing": "off",
|
|
742
|
+
"react/jsx-child-element-spacing": "off",
|
|
743
|
+
"react/jsx-closing-bracket-location": "off",
|
|
744
|
+
"react/jsx-closing-tag-location": "off",
|
|
745
|
+
"react/jsx-curly-newline": "off",
|
|
746
|
+
"react/jsx-curly-spacing": "off",
|
|
747
|
+
"react/jsx-equals-spacing": "off",
|
|
748
|
+
"react/jsx-first-prop-new-line": "off",
|
|
749
|
+
"react/jsx-indent": "off",
|
|
750
|
+
"react/jsx-indent-props": "off",
|
|
751
|
+
"react/jsx-max-props-per-line": "off",
|
|
752
|
+
"react/jsx-newline": "off",
|
|
753
|
+
"react/jsx-one-expression-per-line": "off",
|
|
754
|
+
"react/jsx-props-no-multi-spaces": "off",
|
|
755
|
+
"react/jsx-tag-spacing": "off",
|
|
756
|
+
"react/jsx-wrap-multilines": "off",
|
|
757
|
+
"unicorn/empty-brace-spaces": "off",
|
|
758
|
+
"unicorn/no-nested-ternary": "off",
|
|
759
|
+
"unicorn/number-literal-case": "off"
|
|
720
760
|
},
|
|
721
761
|
"overrides": [
|
|
722
762
|
{
|
|
@@ -748,6 +788,13 @@
|
|
|
748
788
|
],
|
|
749
789
|
"message": "Default import from React is not allowed. Use named imports instead."
|
|
750
790
|
},
|
|
791
|
+
{
|
|
792
|
+
"name": "react-dom",
|
|
793
|
+
"importNames": [
|
|
794
|
+
"default"
|
|
795
|
+
],
|
|
796
|
+
"message": "Default import from React DOM is not allowed. Use named imports instead."
|
|
797
|
+
},
|
|
751
798
|
{
|
|
752
799
|
"name": "@gooddata/sdk-ui-kit",
|
|
753
800
|
"importNames": [
|