feat:init
This commit is contained in:
49
biome.json
Normal file
49
biome.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
||||
"files": {
|
||||
"ignoreUnknown": true,
|
||||
"includes": [
|
||||
"**/*",
|
||||
"!**/.umi",
|
||||
"!**/.umi-production",
|
||||
"!**/.umi-test",
|
||||
"!**/.umi-test-production",
|
||||
"!**/src/services",
|
||||
"!**/mock",
|
||||
"!**/dist",
|
||||
"!**/server",
|
||||
"!**/public",
|
||||
"!**/coverage",
|
||||
"!**/node_modules",
|
||||
"!biome.json"
|
||||
]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space"
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"suspicious": {
|
||||
"noExplicitAny": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"useUniqueElementIds": "off",
|
||||
"useExhaustiveDependencies": "off"
|
||||
},
|
||||
"a11y": {
|
||||
"noStaticElementInteractions": "off",
|
||||
"useValidAnchor": "off",
|
||||
"useKeyWithClickEvents": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"jsxRuntime": "reactClassic",
|
||||
"formatter": {
|
||||
"quoteStyle": "single"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user