@vitus-labs/tools-lint 1.5.0 → 1.5.2-alpha.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/LICENSE +1 -1
- package/biome.shared.json +104 -0
- package/package.json +8 -49
- package/lib/analysis/vitus-tools-lint.js.html +0 -5406
- package/lib/analysis/vitus-tools-lint.module.js.html +0 -5406
- package/lib/index.d.ts +0 -111
- package/lib/types/eslint/helpers.d.ts +0 -6
- package/lib/types/eslint/helpers.d.ts.map +0 -1
- package/lib/types/eslint/index.d.ts +0 -93
- package/lib/types/eslint/index.d.ts.map +0 -1
- package/lib/types/eslint/types.d.ts +0 -11
- package/lib/types/eslint/types.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -3
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/styles.d.ts +0 -5
- package/lib/types/styles.d.ts.map +0 -1
- package/lib/vitus-tools-lint.js +0 -317
- package/lib/vitus-tools-lint.js.map +0 -1
- package/lib/vitus-tools-lint.module.js +0 -311
- package/lib/vitus-tools-lint.module.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
|
|
3
|
+
"formatter": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"indentStyle": "space",
|
|
6
|
+
"indentWidth": 2,
|
|
7
|
+
"lineWidth": 80,
|
|
8
|
+
"lineEnding": "lf"
|
|
9
|
+
},
|
|
10
|
+
"javascript": {
|
|
11
|
+
"globals": [
|
|
12
|
+
"__VITUS_LABS_STORIES__",
|
|
13
|
+
"__BROWSER__",
|
|
14
|
+
"__NATIVE__",
|
|
15
|
+
"__NODE__",
|
|
16
|
+
"__WEB__",
|
|
17
|
+
"__CLIENT__",
|
|
18
|
+
"__VERSION__"
|
|
19
|
+
],
|
|
20
|
+
"formatter": {
|
|
21
|
+
"quoteStyle": "single",
|
|
22
|
+
"jsxQuoteStyle": "double",
|
|
23
|
+
"semicolons": "asNeeded",
|
|
24
|
+
"trailingCommas": "all",
|
|
25
|
+
"bracketSpacing": true,
|
|
26
|
+
"arrowParentheses": "always"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"json": {
|
|
30
|
+
"formatter": {
|
|
31
|
+
"trailingCommas": "none"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"css": {
|
|
35
|
+
"formatter": {
|
|
36
|
+
"enabled": true,
|
|
37
|
+
"indentStyle": "space",
|
|
38
|
+
"indentWidth": 2,
|
|
39
|
+
"quoteStyle": "single"
|
|
40
|
+
},
|
|
41
|
+
"linter": {
|
|
42
|
+
"enabled": true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"linter": {
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"rules": {
|
|
48
|
+
"recommended": true,
|
|
49
|
+
"complexity": {
|
|
50
|
+
"noExcessiveCognitiveComplexity": "warn",
|
|
51
|
+
"noForEach": "off",
|
|
52
|
+
"useFlatMap": "error"
|
|
53
|
+
},
|
|
54
|
+
"correctness": {
|
|
55
|
+
"noUnusedVariables": "error",
|
|
56
|
+
"noUnusedImports": "error",
|
|
57
|
+
"noUndeclaredVariables": "error",
|
|
58
|
+
"useHookAtTopLevel": "error"
|
|
59
|
+
},
|
|
60
|
+
"style": {
|
|
61
|
+
"noParameterAssign": "error",
|
|
62
|
+
"useDefaultParameterLast": "off",
|
|
63
|
+
"noUnusedTemplateLiteral": "off",
|
|
64
|
+
"useConsistentArrayType": {
|
|
65
|
+
"level": "error",
|
|
66
|
+
"options": { "syntax": "shorthand" }
|
|
67
|
+
},
|
|
68
|
+
"useFilenamingConvention": "off",
|
|
69
|
+
"useNamingConvention": "off",
|
|
70
|
+
"noNonNullAssertion": "warn"
|
|
71
|
+
},
|
|
72
|
+
"suspicious": {
|
|
73
|
+
"noExplicitAny": "off",
|
|
74
|
+
"noArrayIndexKey": "warn",
|
|
75
|
+
"noConsole": "warn",
|
|
76
|
+
"noEmptyBlockStatements": "warn"
|
|
77
|
+
},
|
|
78
|
+
"security": {
|
|
79
|
+
"noDangerouslySetInnerHtml": "off"
|
|
80
|
+
},
|
|
81
|
+
"performance": {
|
|
82
|
+
"noAccumulatingSpread": "off"
|
|
83
|
+
},
|
|
84
|
+
"a11y": {
|
|
85
|
+
"useButtonType": "warn",
|
|
86
|
+
"useAltText": "error",
|
|
87
|
+
"useAnchorContent": "error"
|
|
88
|
+
},
|
|
89
|
+
"nursery": {
|
|
90
|
+
"noShadow": "warn"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"assist": {
|
|
95
|
+
"actions": {
|
|
96
|
+
"source": {
|
|
97
|
+
"organizeImports": "on"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"files": {
|
|
102
|
+
"ignoreUnknown": true
|
|
103
|
+
}
|
|
104
|
+
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/tools-lint",
|
|
3
|
-
"version": "1.5.0",
|
|
3
|
+
"version": "1.5.2-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.com>",
|
|
6
6
|
"maintainers": [
|
|
7
7
|
"Vit Bokisch <vit@bokisch.com>"
|
|
8
8
|
],
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./biome": "./biome.shared.json"
|
|
12
|
+
},
|
|
12
13
|
"files": [
|
|
13
|
-
"
|
|
14
|
+
"biome.shared.json"
|
|
14
15
|
],
|
|
15
16
|
"engines": {
|
|
16
17
|
"node": ">= 22"
|
|
@@ -18,50 +19,8 @@
|
|
|
18
19
|
"publishConfig": {
|
|
19
20
|
"access": "public"
|
|
20
21
|
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"dev": "yarn vl_stories",
|
|
23
|
-
"prepublish": "yarn build",
|
|
24
|
-
"build": "yarn vl_build",
|
|
25
|
-
"build:watch": "yarn vl_build-watch",
|
|
26
|
-
"lint:ts": "eslint src/*",
|
|
27
|
-
"lint": "yarn lint:ts"
|
|
28
|
-
},
|
|
29
|
-
"optionalDependencies": {
|
|
30
|
-
"graphql": "^16.10.0",
|
|
31
|
-
"prettier": "^3.5.3"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"typescript": ">=5"
|
|
35
|
-
},
|
|
36
22
|
"dependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"@typescript-eslint/parser": "^8.26.0",
|
|
39
|
-
"eslint": "^9.22.0",
|
|
40
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
41
|
-
"eslint-config-prettier": "^10.1.1",
|
|
42
|
-
"eslint-import-resolver-typescript": "^3.8.3",
|
|
43
|
-
"eslint-plugin-graphql": "^4.0.0",
|
|
44
|
-
"eslint-plugin-import": "^2.31.0",
|
|
45
|
-
"eslint-plugin-jest": "^28.11.0",
|
|
46
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
|
-
"eslint-plugin-markdown": "^5.1.0",
|
|
48
|
-
"eslint-plugin-prettier": "^5.2.3",
|
|
49
|
-
"eslint-plugin-react": "^7.37.4",
|
|
50
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
51
|
-
"eslint-plugin-storybook": "^0.11.4",
|
|
52
|
-
"lodash": "^4.17.21",
|
|
53
|
-
"lodash-es": "^4.17.21",
|
|
54
|
-
"stylelint": "^16.15.0",
|
|
55
|
-
"stylelint-config-prettier": "^9.0.5",
|
|
56
|
-
"stylelint-config-recommended": "^15.0.0",
|
|
57
|
-
"stylelint-config-styled-components": "^0.1.1",
|
|
58
|
-
"stylelint-processor-styled-components": "^1.10.0"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@types/lodash": "^4.17.16",
|
|
62
|
-
"@vitus-labs/tools-babel": "1.5.0",
|
|
63
|
-
"@vitus-labs/tools-rollup": "1.5.0",
|
|
64
|
-
"@vitus-labs/tools-typescript": "1.5.0"
|
|
23
|
+
"@biomejs/biome": "^2.3.14"
|
|
65
24
|
},
|
|
66
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "5b0b8c0a427559dff76158176367fd9b3588dc60"
|
|
67
26
|
}
|