@empjs/biome-config 0.0.1
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 +89 -0
- package/package.json +25 -0
package/biome.jsonc
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
|
|
3
|
+
"organizeImports": {
|
|
4
|
+
"enabled": true
|
|
5
|
+
},
|
|
6
|
+
"files": {
|
|
7
|
+
"ignore": ["dist/**"],
|
|
8
|
+
"ignoreUnknown": true,
|
|
9
|
+
"include": ["src/**", "*.json", "*.css", "*.scss", "*.less", "emp-config.js"]
|
|
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
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"formatter": {
|
|
52
|
+
"lineWidth": 120
|
|
53
|
+
},
|
|
54
|
+
"javascript": {
|
|
55
|
+
"formatter": {
|
|
56
|
+
"semicolons": "asNeeded",
|
|
57
|
+
"quoteStyle": "single",
|
|
58
|
+
"jsxQuoteStyle": "double",
|
|
59
|
+
"bracketSpacing": false,
|
|
60
|
+
"arrowParentheses": "asNeeded",
|
|
61
|
+
"indentStyle": "space",
|
|
62
|
+
"indentWidth": 2
|
|
63
|
+
},
|
|
64
|
+
"parser": {
|
|
65
|
+
"unsafeParameterDecoratorsEnabled": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"json": {
|
|
69
|
+
"formatter": {
|
|
70
|
+
"enabled": true,
|
|
71
|
+
"indentWidth": 2,
|
|
72
|
+
"indentStyle": "space"
|
|
73
|
+
},
|
|
74
|
+
"parser": {
|
|
75
|
+
"allowComments": true,
|
|
76
|
+
"allowTrailingCommas": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"vcs": {
|
|
80
|
+
"enabled": true,
|
|
81
|
+
"clientKind": "git",
|
|
82
|
+
"useIgnoreFile": true
|
|
83
|
+
},
|
|
84
|
+
"overrides": [
|
|
85
|
+
{
|
|
86
|
+
"include": [".vscode/**"]
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@empjs/biome-config",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "biome.json",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./biome.jsonc",
|
|
7
|
+
"./biome": "./biome.jsonc"
|
|
8
|
+
},
|
|
9
|
+
"maintainers": ["ckken@qq.com"],
|
|
10
|
+
"files": ["biome.jsonc"],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/empjs/emp.git",
|
|
14
|
+
"directory": "packages/biome-config"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@biomejs/biome": "^1.7.1"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@biomejs/biome": "^1.7.1"
|
|
24
|
+
}
|
|
25
|
+
}
|