mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
По фичам Biome v2.3: css.parser.tailwindDirectives снимает исключение CSS из Biome (globals.css снова под формат-контролем; линт CSS выключен override-ом — tailwind-функции theme() и пр. правила пока не знают), lineEnding auto повторяет поведение prettier endOfLine: auto (CRLF в Windows-чекаутах, LF на CI). Однократный формат-дифф globals.css 45+/45- — расхождения CSS-форматтера Biome с Prettier.
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
|
|
"files": {
|
|
"includes": ["**", "!dist", "!node_modules", "!public", "!package-lock.json"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"lineEnding": "auto"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"semicolons": "always",
|
|
"trailingCommas": "all",
|
|
"arrowParentheses": "always",
|
|
"bracketSpacing": true
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"a11y": {
|
|
"recommended": false
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "warn",
|
|
"useExhaustiveDependencies": "warn",
|
|
"noInnerDeclarations": "warn",
|
|
"noUnsafeOptionalChaining": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "warn",
|
|
"noArrayIndexKey": "off",
|
|
"noImplicitAnyLet": "warn",
|
|
"useIterableCallbackReturn": "warn"
|
|
},
|
|
"security": {
|
|
"noGlobalEval": "error",
|
|
"noDangerouslySetInnerHtml": "warn"
|
|
}
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": false
|
|
},
|
|
"plugins": ["./biome-plugins/telegram-webview-guards.grit"],
|
|
"css": {
|
|
"parser": {
|
|
"tailwindDirectives": true
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/*.css"],
|
|
"linter": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
]
|
|
}
|