@nedcloarbr/biome-config 1.9.2 → 2.0.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/base.json +29 -10
- package/ignore.json +15 -14
- package/nestjs.json +2 -2
- package/package.json +3 -3
- package/react.json +4 -7
package/base.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
|
+
"assist": {
|
|
4
|
+
"actions": {
|
|
5
|
+
"source": {
|
|
6
|
+
"organizeImports": "on"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
5
9
|
},
|
|
6
10
|
"formatter": {
|
|
7
11
|
"enabled": true,
|
|
@@ -61,18 +65,16 @@
|
|
|
61
65
|
"noGlobalObjectCalls": "error",
|
|
62
66
|
"noInnerDeclarations": "off",
|
|
63
67
|
"noInvalidConstructorSuper": "error",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
68
|
+
"noSwitchDeclarations": "off",
|
|
69
|
+
"noInvalidBuiltinInstantiation": "error"
|
|
66
70
|
},
|
|
67
71
|
"style": {
|
|
68
72
|
"noDefaultExport": "error",
|
|
69
|
-
"noVar": "error",
|
|
70
73
|
"noUselessElse": "error",
|
|
71
74
|
"noNonNullAssertion": "off",
|
|
72
75
|
"useAsConstAssertion": "warn",
|
|
73
76
|
"useConst": "error",
|
|
74
77
|
"useNodejsImportProtocol": "error",
|
|
75
|
-
"useShorthandArrayType": "error",
|
|
76
78
|
"useSingleVarDeclarator": "error",
|
|
77
79
|
"useExportType": {
|
|
78
80
|
"level": "info",
|
|
@@ -80,7 +82,23 @@
|
|
|
80
82
|
},
|
|
81
83
|
"useImportType": {
|
|
82
84
|
"level": "info",
|
|
83
|
-
"fix": "none"
|
|
85
|
+
"fix": "none",
|
|
86
|
+
"options": {
|
|
87
|
+
"style": "auto"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"noParameterAssign": "error",
|
|
91
|
+
"useDefaultParameterLast": "error",
|
|
92
|
+
"useEnumInitializers": "error",
|
|
93
|
+
"useSelfClosingElements": "error",
|
|
94
|
+
"noUnusedTemplateLiteral": "error",
|
|
95
|
+
"useNumberNamespace": "error",
|
|
96
|
+
"noInferrableTypes": "error",
|
|
97
|
+
"useConsistentArrayType": {
|
|
98
|
+
"level": "error",
|
|
99
|
+
"options": {
|
|
100
|
+
"syntax": "shorthand"
|
|
101
|
+
}
|
|
84
102
|
}
|
|
85
103
|
},
|
|
86
104
|
"suspicious": {
|
|
@@ -93,8 +111,9 @@
|
|
|
93
111
|
"noDuplicateParameters": "error",
|
|
94
112
|
"noEmptyBlockStatements": "error",
|
|
95
113
|
"noEmptyInterface": "error",
|
|
96
|
-
"noExplicitAny": "error"
|
|
114
|
+
"noExplicitAny": "error",
|
|
115
|
+
"noVar": "error"
|
|
97
116
|
}
|
|
98
117
|
}
|
|
99
118
|
}
|
|
100
|
-
}
|
|
119
|
+
}
|
package/ignore.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
3
|
"files": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
4
|
+
"includes": [
|
|
5
|
+
"**",
|
|
6
|
+
"!**/dist/**/*",
|
|
7
|
+
"!**/out/**/*",
|
|
8
|
+
"!**/build/**/*",
|
|
9
|
+
"!**/coverage/**/*",
|
|
10
|
+
"!**/.vscode/**/*",
|
|
11
|
+
"!**/.idea/**/*",
|
|
12
|
+
"!**/.atom/**/*",
|
|
13
|
+
"!**/.yarn/**/*",
|
|
14
|
+
"!**/.next/**/*",
|
|
15
|
+
"!**/*.pnp.*",
|
|
16
|
+
"!**/.nx/"
|
|
16
17
|
],
|
|
17
18
|
"ignoreUnknown": true
|
|
18
19
|
}
|
|
19
|
-
}
|
|
20
|
+
}
|
package/nestjs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nedcloarbr/biome-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "BiomeJS Configuration used by NedcloarBR in their projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"react.json",
|
|
40
40
|
"ignore.json"
|
|
41
41
|
],
|
|
42
|
-
"packageManager": "yarn@4.
|
|
42
|
+
"packageManager": "yarn@4.9.2",
|
|
43
43
|
"scripts": {
|
|
44
44
|
"release": "release-it",
|
|
45
45
|
"changelog": "git cliff --prepend ./CHANGELOG.md -l --current -c ./cliff.toml -r ."
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"release-it": "^
|
|
48
|
+
"release-it": "^19.0.3"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/react.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
|
3
3
|
"extends": [
|
|
4
4
|
"./base.json"
|
|
5
5
|
],
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"linter": {
|
|
20
20
|
"rules": {
|
|
21
|
-
"a11y": {
|
|
22
|
-
"all": true
|
|
23
|
-
},
|
|
21
|
+
"a11y": {},
|
|
24
22
|
"nursery": {
|
|
25
23
|
"useSortedClasses": "error"
|
|
26
24
|
},
|
|
@@ -33,12 +31,11 @@
|
|
|
33
31
|
"noDangerouslySetInnerHtmlWithChildren": "error"
|
|
34
32
|
},
|
|
35
33
|
"style": {
|
|
36
|
-
"noImplicitBoolean": "error"
|
|
37
|
-
"useFragmentSyntax": "error"
|
|
34
|
+
"noImplicitBoolean": "error"
|
|
38
35
|
},
|
|
39
36
|
"suspicious": {
|
|
40
37
|
"noSuspiciousSemicolonInJsx": "error"
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
|
-
}
|
|
41
|
+
}
|