mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-10-30 14:54:15 +00:00
* feat(storybook): bump version of storybook to v10 * test(storybook): add ci step * chore(build): target es2018 & from .js to .mjs * chore(.idea): do not track this folder * fix(storybook): not injecting the css on build
87 lines
1.7 KiB
JSON
87 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.json"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"domains": {
|
|
"project": "recommended",
|
|
"react": "recommended",
|
|
"types": "recommended",
|
|
"turborepo": "recommended"
|
|
},
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedImports": "error",
|
|
"noUnusedVariables": "error",
|
|
"useExhaustiveDependencies": "warn",
|
|
"useHookAtTopLevel": "error",
|
|
"useImportExtensions": {
|
|
"level": "error",
|
|
"options": {
|
|
"extensionMappings": {
|
|
"ts": "js",
|
|
"tsx": "js"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"style": {
|
|
"noDefaultExport": "off",
|
|
"useImportType": "error",
|
|
"noNonNullAssertion": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noShadowRestrictedNames": "off",
|
|
"noArrayIndexKey": "warn"
|
|
},
|
|
"a11y": {
|
|
"useButtonType": "warn",
|
|
"noSvgWithoutTitle": "off",
|
|
"useKeyWithClickEvents": "warn",
|
|
"noStaticElementInteractions": "warn",
|
|
"useValidAnchor": "warn",
|
|
"noLabelWithoutControl": "off",
|
|
"useAriaPropsSupportedByRole": "warn"
|
|
},
|
|
"complexity": {
|
|
"noImportantStyles": "off"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"trailingCommas": "es5"
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"indentStyle": "tab"
|
|
}
|
|
},
|
|
"css": {
|
|
"formatter": {
|
|
"enabled": false
|
|
},
|
|
"linter": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
}
|