@empjs/biome-config 0.0.1 → 0.1.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/biome.jsonc +56 -60
- package/package.json +4 -4
package/biome.jsonc
CHANGED
|
@@ -1,65 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/1.7.
|
|
3
|
-
"organizeImports": {
|
|
4
|
-
"enabled": true
|
|
5
|
-
},
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/1.7.2/schema.json",
|
|
6
3
|
"files": {
|
|
7
|
-
"ignore": ["dist/**"],
|
|
4
|
+
"ignore": ["dist/**", "*.vue", "*.svelte", "*.astro"],
|
|
8
5
|
"ignoreUnknown": true,
|
|
9
|
-
"include": ["src/**", "*.json", "*.
|
|
10
|
-
},
|
|
11
|
-
"linter": {
|
|
12
|
-
"enabled": true,
|
|
13
|
-
"rules": {
|
|
14
|
-
"recommended": true,
|
|
15
|
-
"style": {
|
|
16
|
-
"noNonNullAssertion": "off",
|
|
17
|
-
"noUnusedTemplateLiteral": "off",
|
|
18
|
-
"noParameterAssign": "off",
|
|
19
|
-
"useNodejsImportProtocol": "off",
|
|
20
|
-
"useTemplate": "off",
|
|
21
|
-
"noUselessElse": "off",
|
|
22
|
-
"useSingleVarDeclarator": "off"
|
|
23
|
-
},
|
|
24
|
-
"suspicious": {
|
|
25
|
-
"noAssignInExpressions": "off",
|
|
26
|
-
"noExplicitAny": "off",
|
|
27
|
-
"noGlobalIsNan": "off",
|
|
28
|
-
"noImplicitAnyLet": "off",
|
|
29
|
-
"noDoubleEquals": "off"
|
|
30
|
-
},
|
|
31
|
-
"a11y": {
|
|
32
|
-
"useAltText": "off",
|
|
33
|
-
"useButtonType": "off",
|
|
34
|
-
"useValidAnchor": "off",
|
|
35
|
-
"noSvgWithoutTitle": "off"
|
|
36
|
-
},
|
|
37
|
-
"performance": {
|
|
38
|
-
"noDelete": "off"
|
|
39
|
-
},
|
|
40
|
-
"complexity": {
|
|
41
|
-
"useOptionalChain": "off",
|
|
42
|
-
"useArrowFunction": "off",
|
|
43
|
-
"noForEach": "off",
|
|
44
|
-
"noUselessConstructor": "off"
|
|
45
|
-
},
|
|
46
|
-
"correctness": {
|
|
47
|
-
"noUnreachable": "off"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
6
|
+
"include": ["src/**", "*.json", "*.jsonc", "emp-config.js", ".vscode/"]
|
|
50
7
|
},
|
|
51
8
|
"formatter": {
|
|
52
9
|
"lineWidth": 120
|
|
53
10
|
},
|
|
54
11
|
"javascript": {
|
|
55
12
|
"formatter": {
|
|
56
|
-
"semicolons": "asNeeded",
|
|
57
|
-
"quoteStyle": "single",
|
|
58
|
-
"jsxQuoteStyle": "double",
|
|
59
|
-
"bracketSpacing": false,
|
|
60
13
|
"arrowParentheses": "asNeeded",
|
|
14
|
+
"bracketSpacing": false,
|
|
61
15
|
"indentStyle": "space",
|
|
62
|
-
"indentWidth": 2
|
|
16
|
+
"indentWidth": 2,
|
|
17
|
+
"jsxQuoteStyle": "double",
|
|
18
|
+
"quoteStyle": "single",
|
|
19
|
+
"semicolons": "asNeeded"
|
|
63
20
|
},
|
|
64
21
|
"parser": {
|
|
65
22
|
"unsafeParameterDecoratorsEnabled": true
|
|
@@ -68,22 +25,61 @@
|
|
|
68
25
|
"json": {
|
|
69
26
|
"formatter": {
|
|
70
27
|
"enabled": true,
|
|
71
|
-
"
|
|
72
|
-
"
|
|
28
|
+
"indentStyle": "space",
|
|
29
|
+
"indentWidth": 2
|
|
73
30
|
},
|
|
74
31
|
"parser": {
|
|
75
32
|
"allowComments": true,
|
|
76
33
|
"allowTrailingCommas": true
|
|
77
34
|
}
|
|
78
35
|
},
|
|
79
|
-
"
|
|
36
|
+
"linter": {
|
|
80
37
|
"enabled": true,
|
|
38
|
+
"rules": {
|
|
39
|
+
"a11y": {
|
|
40
|
+
"noSvgWithoutTitle": "off",
|
|
41
|
+
"useAltText": "off",
|
|
42
|
+
"useButtonType": "off",
|
|
43
|
+
"useValidAnchor": "off"
|
|
44
|
+
},
|
|
45
|
+
"complexity": {
|
|
46
|
+
"noForEach": "off",
|
|
47
|
+
"noUselessConstructor": "off",
|
|
48
|
+
"useArrowFunction": "off",
|
|
49
|
+
"useOptionalChain": "off"
|
|
50
|
+
},
|
|
51
|
+
"correctness": {
|
|
52
|
+
"noUnreachable": "off"
|
|
53
|
+
},
|
|
54
|
+
"performance": {
|
|
55
|
+
"noDelete": "off"
|
|
56
|
+
},
|
|
57
|
+
"recommended": true,
|
|
58
|
+
"style": {
|
|
59
|
+
"noNonNullAssertion": "off",
|
|
60
|
+
"noParameterAssign": "off",
|
|
61
|
+
"noUnusedTemplateLiteral": "off",
|
|
62
|
+
"noUselessElse": "off",
|
|
63
|
+
"useNodejsImportProtocol": "off",
|
|
64
|
+
"useSingleVarDeclarator": "off",
|
|
65
|
+
"useTemplate": "off"
|
|
66
|
+
},
|
|
67
|
+
"suspicious": {
|
|
68
|
+
"noAssignInExpressions": "off",
|
|
69
|
+
"noDoubleEquals": "off",
|
|
70
|
+
"noExplicitAny": "off",
|
|
71
|
+
"noGlobalIsNan": "off",
|
|
72
|
+
"noImplicitAnyLet": "off"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"organizeImports": {
|
|
77
|
+
"enabled": true
|
|
78
|
+
},
|
|
79
|
+
"overrides": [],
|
|
80
|
+
"vcs": {
|
|
81
81
|
"clientKind": "git",
|
|
82
|
+
"enabled": true,
|
|
82
83
|
"useIgnoreFile": true
|
|
83
|
-
}
|
|
84
|
-
"overrides": [
|
|
85
|
-
{
|
|
86
|
-
"include": [".vscode/**"]
|
|
87
|
-
}
|
|
88
|
-
]
|
|
84
|
+
}
|
|
89
85
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empjs/biome-config",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"main": "biome.
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"main": "biome.jsonc",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./biome.jsonc",
|
|
7
7
|
"./biome": "./biome.jsonc"
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@biomejs/biome": "^1.7.
|
|
20
|
+
"@biomejs/biome": "^1.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@biomejs/biome": "^1.7.
|
|
23
|
+
"@biomejs/biome": "^1.7.2"
|
|
24
24
|
}
|
|
25
25
|
}
|