mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-06-24 13:18:14 +00:00
fix(ignore): Migrate to Biome 2 (#791)
This commit is contained in:
42
biome.json
42
biome.json
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
|
||||
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true
|
||||
},
|
||||
"formatter": {
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 4,
|
||||
@@ -8,17 +12,18 @@
|
||||
"bracketSpacing": false
|
||||
},
|
||||
"files": {
|
||||
"ignore": [
|
||||
"package.json",
|
||||
"./index-stackinfo.json",
|
||||
"./index.json",
|
||||
"./index1.json",
|
||||
"./.cache",
|
||||
"./cacerts",
|
||||
"./images",
|
||||
"./images1",
|
||||
"./not-in-manifest-images",
|
||||
"./not-in-manifest-images1"
|
||||
"includes": [
|
||||
"**",
|
||||
"!package.json",
|
||||
"!index-stackinfo.json",
|
||||
"!index.json",
|
||||
"!index1.json",
|
||||
"!.cache",
|
||||
"!cacerts",
|
||||
"!images",
|
||||
"!images1",
|
||||
"!not-in-manifest-images",
|
||||
"!not-in-manifest-images1"
|
||||
]
|
||||
},
|
||||
"linter": {
|
||||
@@ -55,7 +60,16 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"useAsConstAssertion": "error",
|
||||
"useDefaultParameterLast": "error",
|
||||
"useEnumInitializers": "error",
|
||||
"useSelfClosingElements": "error",
|
||||
"useSingleVarDeclarator": "error",
|
||||
"noUnusedTemplateLiteral": "error",
|
||||
"useNumberNamespace": "error",
|
||||
"noInferrableTypes": "error",
|
||||
"noUselessElse": "error"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user