@hitachivantara/uikit-config 0.5.2 → 0.6.0
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 +2 -1
- package/oxlint/default.json +3 -0
- package/package.json +5 -5
- package/prettier.config.json +14 -26
- package/tsconfig.json +2 -2
package/oxlint/base.json
CHANGED
|
@@ -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",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"settings": {
|
|
35
36
|
"react": {
|
|
36
37
|
"formComponents": [],
|
|
37
|
-
"linkComponents": [
|
|
38
|
+
"linkComponents": []
|
|
38
39
|
},
|
|
39
40
|
"jsx-a11y": {
|
|
40
41
|
"polymorphicPropName": "component",
|
package/oxlint/default.json
CHANGED
|
@@ -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,10 +16,12 @@
|
|
|
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",
|
|
21
23
|
"eslint/no-eq-null": "off",
|
|
24
|
+
"eslint/no-param-reassign": "off",
|
|
22
25
|
"eslint/no-plusplus": "off",
|
|
23
26
|
"eslint/no-undefined": "off",
|
|
24
27
|
"import/no-default-export": "off",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
7
7
|
"description": "UI Kit Sharable projects configurations",
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/pentaho/hv-uikit-react",
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"keywords": [
|
|
11
11
|
"hitachi-vantara",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
],
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "https://github.com/
|
|
17
|
+
"url": "https://github.com/pentaho/hv-uikit-react.git",
|
|
18
18
|
"directory": "packages/config"
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"bugs": {
|
|
22
|
-
"url": "https://github.com/
|
|
22
|
+
"url": "https://github.com/pentaho/hv-uikit-react/issues"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
"./package.json": "./package.json",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"access": "public",
|
|
37
37
|
"directory": "package"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f2b8a9e107bc8886231d527b37b30716d891105c"
|
|
40
40
|
}
|
package/prettier.config.json
CHANGED
|
@@ -1,34 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
|
3
3
|
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"^~/(.*)$",
|
|
16
|
-
"^#/(.*)$",
|
|
17
|
-
"^[./]"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
{ "files": ["*.hbs"], "options": { "rangeEnd": 0 } },
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
"files": ["*.md"],
|
|
26
|
-
"options": { "parser": "markdown", "embeddedLanguageFormatting": "off" }
|
|
27
|
-
},
|
|
4
|
+
"importOrder": [
|
|
5
|
+
"<BUILTIN_MODULES>",
|
|
6
|
+
"^react$",
|
|
7
|
+
"^react-.*",
|
|
8
|
+
"<THIRD_PARTY_MODULES>",
|
|
9
|
+
"^@hitachivantara/(.*)$",
|
|
10
|
+
"",
|
|
11
|
+
"^~/(.*)$",
|
|
12
|
+
"^#/(.*)$",
|
|
13
|
+
"^[./]"
|
|
14
|
+
],
|
|
28
15
|
|
|
16
|
+
"overrides": [
|
|
29
17
|
{
|
|
30
|
-
"files": ["*.
|
|
31
|
-
"options": { "
|
|
18
|
+
"files": ["*.hbs", "pnpm-lock.yaml", "yarn.lock"],
|
|
19
|
+
"options": { "rangeEnd": 0 }
|
|
32
20
|
}
|
|
33
21
|
]
|
|
34
22
|
}
|
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
|
}
|