@hitachivantara/uikit-config 0.5.3 → 0.6.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/oxlint/base.json +5 -2
- package/oxlint/default.json +14 -1
- package/oxlint/strict.json +1 -1
- package/package.json +2 -2
- package/tsconfig.json +2 -2
package/oxlint/base.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.56.0/npm/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript", "unicorn", "react", "oxc", "import", "jsx-a11y"],
|
|
4
4
|
"categories": {
|
|
5
5
|
"correctness": "error"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"react/jsx-key": "off",
|
|
16
16
|
"react/exhaustive-deps": "error",
|
|
17
17
|
"react/rules-of-hooks": "error",
|
|
18
|
+
"react/only-export-components": "off",
|
|
18
19
|
|
|
19
20
|
"eslint/no-unused-vars": [
|
|
20
21
|
"error",
|
|
@@ -28,13 +29,15 @@
|
|
|
28
29
|
}
|
|
29
30
|
],
|
|
30
31
|
"jsx_a11y/no-autofocus": "off",
|
|
32
|
+
"jsx-a11y/prefer-tag-over-role": "off",
|
|
33
|
+
"jsx-a11y/interactive-supports-focus": "warn",
|
|
31
34
|
"jsx_a11y/role-supports-aria-props": "off",
|
|
32
35
|
"jsx_a11y/role-has-required-aria-props": "off"
|
|
33
36
|
},
|
|
34
37
|
"settings": {
|
|
35
38
|
"react": {
|
|
36
39
|
"formComponents": [],
|
|
37
|
-
"linkComponents": [
|
|
40
|
+
"linkComponents": []
|
|
38
41
|
},
|
|
39
42
|
"jsx-a11y": {
|
|
40
43
|
"polymorphicPropName": "component",
|
package/oxlint/default.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.56.0/npm/oxlint/configuration_schema.json",
|
|
3
3
|
"extends": ["./base.json"],
|
|
4
4
|
"categories": {
|
|
5
5
|
"perf": "warn",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"restriction": "error"
|
|
8
8
|
},
|
|
9
9
|
"rules": {
|
|
10
|
+
"oxc/no-map-spread": "off",
|
|
10
11
|
"unicorn/prefer-set-has": "off",
|
|
11
12
|
|
|
12
13
|
"import/no-duplicates": "off",
|
|
@@ -15,19 +16,30 @@
|
|
|
15
16
|
"import/no-unassigned-import": "off",
|
|
16
17
|
"react/react-in-jsx-scope": "off",
|
|
17
18
|
|
|
19
|
+
"eslint/complexity": "off",
|
|
18
20
|
"eslint/default-case": "off",
|
|
19
21
|
"eslint/no-console": ["error", { "allow": ["warn", "error", "info"] }],
|
|
20
22
|
"eslint/no-empty-function": "off",
|
|
23
|
+
"eslint/no-underscore-dangle": "warn",
|
|
21
24
|
"eslint/no-eq-null": "off",
|
|
25
|
+
"eslint/no-param-reassign": "off",
|
|
22
26
|
"eslint/no-plusplus": "off",
|
|
23
27
|
"eslint/no-undefined": "off",
|
|
28
|
+
"eslint/no-shadow": "warn",
|
|
29
|
+
"eslint/no-use-before-define": "off",
|
|
24
30
|
"import/no-default-export": "off",
|
|
31
|
+
"import/no-relative-parent-imports": "off",
|
|
25
32
|
"import/unambiguous": "off",
|
|
26
33
|
"oxc/no-async-await": "off",
|
|
27
34
|
"oxc/no-barrel-file": "off",
|
|
28
35
|
"oxc/no-optional-chaining": "off",
|
|
29
36
|
"oxc/no-rest-spread-properties": "off",
|
|
37
|
+
"react/no-multi-comp": "off",
|
|
38
|
+
"react/no-clone-element": "warn",
|
|
39
|
+
"react/no-react-children": "warn",
|
|
30
40
|
"react/jsx-filename-extension": "off",
|
|
41
|
+
"react/forbid-component-props": "off",
|
|
42
|
+
"typescript/explicit-member-accessibility": "off",
|
|
31
43
|
"typescript/explicit-function-return-type": "off",
|
|
32
44
|
"typescript/explicit-module-boundary-types": "off",
|
|
33
45
|
"typescript/no-dynamic-delete": "off",
|
|
@@ -36,6 +48,7 @@
|
|
|
36
48
|
"typescript/no-non-null-assertion": "off",
|
|
37
49
|
"unicorn/consistent-function-scoping": "off",
|
|
38
50
|
"unicorn/no-anonymous-default-export": "off",
|
|
51
|
+
"unicorn/no-abusive-eslint-disable": "off",
|
|
39
52
|
"unicorn/no-array-for-each": "off",
|
|
40
53
|
"unicorn/no-array-reduce": "off",
|
|
41
54
|
"unicorn/no-nested-ternary": "off"
|
package/oxlint/strict.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/tags/oxlint_v1.56.0/npm/oxlint/configuration_schema.json",
|
|
3
3
|
"extends": ["./base.json", "./default.json"],
|
|
4
4
|
"rules": {
|
|
5
5
|
// #region Pedantic
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"access": "public",
|
|
37
37
|
"directory": "package"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "b9034f709fcfa749a28a52ed31dab060455493d6"
|
|
40
40
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
/* Base Options */
|
|
4
|
-
"target": "
|
|
4
|
+
"target": "ES2023",
|
|
5
5
|
"resolveJsonModule": true,
|
|
6
6
|
"esModuleInterop": true,
|
|
7
7
|
"skipLibCheck": true,
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
|
|
23
23
|
/* Others */
|
|
24
24
|
"jsx": "react-jsx",
|
|
25
|
-
"lib": ["
|
|
25
|
+
"lib": ["ES2023", "DOM", "DOM.Iterable"]
|
|
26
26
|
}
|
|
27
27
|
}
|