mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 13:48:14 +00:00
113 lines
2.3 KiB
JSON
113 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
|
|
"html": {
|
|
"experimentalFullSupportEnabled": false
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": { "organizeImports": "on" }
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 120
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"semicolons": "always",
|
|
"trailingCommas": "es5",
|
|
"bracketSpacing": true,
|
|
"arrowParentheses": "always"
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"indentWidth": 2
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"tailwindDirectives": true
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noNamespace": "off",
|
|
"noNonNullAssertion": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noConfusingVoidType": "off",
|
|
"useIterableCallbackReturn": "off",
|
|
"noAssignInExpressions": "off",
|
|
"noDocumentCookie": "off",
|
|
"noThenProperty": "off"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"complexity": {
|
|
"noUselessFragments": "warn",
|
|
"noArguments": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "warn",
|
|
"noUnusedImports": "warn",
|
|
"noUnusedFunctionParameters": "off",
|
|
"useExhaustiveDependencies": "warn"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "warn"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["packages/element/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"complexity": {
|
|
"noThisInStatic": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/*.astro"],
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"noUnusedVariables": "off",
|
|
"noUnusedImports": "off"
|
|
},
|
|
"style": {
|
|
"useConst": "off",
|
|
"useImportType": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/.astro",
|
|
"!**/.vercel",
|
|
"!**/.turbo",
|
|
"!**/.next",
|
|
"!**/.github",
|
|
"!**/dist",
|
|
"!**/examples",
|
|
"!**/styles/vjs.css",
|
|
"!**/packages/*/types",
|
|
"!**/packages/__tech-preview__"
|
|
]
|
|
}
|
|
}
|