widenarrow-ui 1.0.9 → 1.0.10
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/.eslintrc +2 -81
- package/lib/components/Checkbox/Checkbox.types.d.ts +1 -1
- package/lib/components/SwitchButton/SwitchButton.types.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.esm.css +1 -1
- package/lib/index.esm.js +23 -26
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +23 -26
- package/lib/index.js.map +1 -1
- package/package.json +10 -19
- package/src/components/Box/Box.tsx +2 -2
- package/src/components/Checkbox/Checkbox.types.ts +1 -1
- package/src/components/SortableTable/SortableTable.tsx +8 -3
- package/src/components/SwitchButton/SwitchButton.types.ts +1 -1
package/.eslintrc
CHANGED
|
@@ -1,88 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"plugins": ["react", "import", "@typescript-eslint"],
|
|
4
|
-
"extends": ["react-app", "airbnb-base", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended"],
|
|
5
|
-
"rules": {
|
|
6
|
-
"@typescript-eslint/explicit-module-boundary-types": 0,
|
|
7
|
-
"@typescript-eslint/no-unused-vars": "warn",
|
|
8
|
-
"@typescript-eslint/no-use-before-define": "warn",
|
|
9
|
-
"@typescript-eslint/no-var-requires": 0,
|
|
10
|
-
"@typescript-eslint/rule-name": 0,
|
|
11
|
-
"arrow-parens": 0,
|
|
12
|
-
"class-methods-use-this": 0,
|
|
13
|
-
"comma-dangle": ["error", "never"],
|
|
14
|
-
"consistent-return": 0,
|
|
15
|
-
"default-param-last": 0,
|
|
16
|
-
"func-names": 0,
|
|
17
|
-
"function-paren-newline": 0,
|
|
18
|
-
"generator-star-spacing": 0,
|
|
19
|
-
"implicit-arrow-linebreak": 0,
|
|
20
|
-
"import/extensions": 0,
|
|
21
|
-
"import/no-extraneous-dependencies": 0,
|
|
22
|
-
"import/no-mutable-exports": "warn",
|
|
23
|
-
"import/prefer-default-export": 0,
|
|
24
|
-
"indent": 0,
|
|
25
|
-
"linebreak-style": 0,
|
|
26
|
-
"no-confusing-arrow": 0,
|
|
27
|
-
"no-console": "warn",
|
|
28
|
-
"no-continue": 0,
|
|
29
|
-
"no-mixed-spaces-and-tabs": 0,
|
|
30
|
-
"no-nested-ternary": 0,
|
|
31
|
-
"no-param-reassign": 0,
|
|
32
|
-
"no-plusplus": 0,
|
|
33
|
-
"no-restricted-globals": 0,
|
|
34
|
-
"no-restricted-syntax": 0,
|
|
35
|
-
"no-return-assign": ["error", "except-parens"],
|
|
36
|
-
"no-shadow": 0,
|
|
37
|
-
"no-tabs": ["warn", { "allowIndentationTabs": true }],
|
|
38
|
-
"no-undef": ["warn", { "typeof": true }],
|
|
39
|
-
"no-underscore-dangle": 0,
|
|
40
|
-
"no-unused-expressions": ["error", { "allowTernary": true, "allowShortCircuit": true }],
|
|
41
|
-
"no-use-before-define": "warn",
|
|
42
|
-
"object-curly-newline": 0,
|
|
43
|
-
"operator-linebreak": 0,
|
|
44
|
-
"prefer-destructuring": 0,
|
|
45
|
-
"prefer-regex-literals": 0,
|
|
46
|
-
"react/display-name": 0,
|
|
47
|
-
"react/forbid-prop-types": 0,
|
|
48
|
-
"react/no-deprecated": "warn",
|
|
49
|
-
"react/react-in-jsx-scope": 0,
|
|
50
|
-
"space-before-function-paren": 0,
|
|
51
|
-
"spaced-comment": "warn",
|
|
52
|
-
"template-curly-spacing": 0,
|
|
53
|
-
"max-len": [
|
|
54
|
-
"error",
|
|
55
|
-
{
|
|
56
|
-
"code": 140,
|
|
57
|
-
"tabWidth": 2,
|
|
58
|
-
"ignoreComments": true,
|
|
59
|
-
"ignoreUrls": true,
|
|
60
|
-
"ignoreStrings": true,
|
|
61
|
-
"ignoreTemplateLiterals": true,
|
|
62
|
-
"ignoreRegExpLiterals": true
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"import/no-unresolved": [
|
|
66
|
-
"error",
|
|
67
|
-
{
|
|
68
|
-
"ignore": [
|
|
69
|
-
"components/*",
|
|
70
|
-
"constants/*",
|
|
71
|
-
"types/*",
|
|
72
|
-
"utils/*",
|
|
73
|
-
"assets/*"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
"env": {
|
|
79
|
-
"jest": true,
|
|
80
|
-
"browser": true
|
|
81
|
-
},
|
|
2
|
+
"extends": ["plugin:storybook/recommended", "plugin:@typescript-eslint/recommended"],
|
|
82
3
|
"settings": {
|
|
83
4
|
"import/resolver": {
|
|
84
5
|
"node": {
|
|
85
|
-
"extensions": [".js",
|
|
6
|
+
"extensions": [".js",".jsx",".ts",".tsx"]
|
|
86
7
|
}
|
|
87
8
|
}
|
|
88
9
|
}
|