biome-config-pixel 2.1.4 → 2.1.6
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 +18 -1
- package/package.json +1 -1
package/biome.jsonc
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"!**/node_modules",
|
|
14
14
|
"!**/vendor",
|
|
15
15
|
"!**/.next",
|
|
16
|
+
"!**/next-env.d.ts",
|
|
16
17
|
"!**/.dist",
|
|
17
18
|
"!**/apps/api/**/*",
|
|
18
19
|
"!**/generated"
|
|
@@ -73,7 +74,18 @@
|
|
|
73
74
|
"noUnusedTemplateLiteral": "error",
|
|
74
75
|
"useNumberNamespace": "error",
|
|
75
76
|
"noInferrableTypes": "error",
|
|
76
|
-
"noUselessElse": "error"
|
|
77
|
+
"noUselessElse": "error",
|
|
78
|
+
"noRestrictedImports": {
|
|
79
|
+
"level": "warn",
|
|
80
|
+
"options": {
|
|
81
|
+
"patterns": [
|
|
82
|
+
{
|
|
83
|
+
"group": ["./*", "../**"],
|
|
84
|
+
"message": "Relative imports are discouraged. Use absolute imports from the project's path or root instead."
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
77
89
|
}
|
|
78
90
|
}
|
|
79
91
|
},
|
|
@@ -89,5 +101,10 @@
|
|
|
89
101
|
"attributePosition": "auto",
|
|
90
102
|
"bracketSpacing": true
|
|
91
103
|
}
|
|
104
|
+
},
|
|
105
|
+
"css": {
|
|
106
|
+
"parser": {
|
|
107
|
+
"tailwindDirectives": true
|
|
108
|
+
}
|
|
92
109
|
}
|
|
93
110
|
}
|
package/package.json
CHANGED