1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

tooling cleanup

This commit is contained in:
thatmattlove
2024-02-27 22:55:32 -05:00
parent 3f88af4d65
commit 2e1582a674
3 changed files with 55 additions and 42 deletions

12
.vscode/settings.json vendored
View File

@@ -1,7 +1,9 @@
{
"yaml.format.singleQuote": true,
"eslint.workingDirectories": ["./hyperglass/ui"],
"python.linting.mypyEnabled": false,
"python.linting.enabled": false,
"biome.lspBin": "./hyperglass/ui/node_modules/.bin/biome"
"yaml.format.singleQuote": true,
"python.linting.mypyEnabled": false,
"python.linting.enabled": false,
"biome.lspBin": "./hyperglass/ui/node_modules/.bin/biome",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "always"
}
}

47
biome.json Normal file
View File

@@ -0,0 +1,47 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": [
"node_modules",
"dist",
".next/",
"favicon-formats.ts",
"custom.*[js, html]",
"hyperglass.json"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noUselessTypeConstraint": "off",
"noBannedTypes": "off"
},
"style": {
"noInferrableTypes": "off",
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"lineWidth": 100,
"indentWidth": 2
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"bracketSpacing": true,
"semicolons": "always",
"arrowParentheses": "asNeeded",
"trailingComma": "all"
}
}
}

View File

@@ -1,40 +1,4 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": ["node_modules", "dist", ".next/", "favicon-formats.ts", "custom.*[js, html]"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noUselessTypeConstraint": "off",
"noBannedTypes": "off"
},
"style": {
"noInferrableTypes": "off",
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"lineWidth": 100,
"indentWidth": 2
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"bracketSpacing": true,
"semicolons": "always",
"arrowParentheses": "asNeeded",
"trailingComma": "all"
}
}
"extends": ["../../biome.json"]
}