mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
tooling cleanup
This commit is contained in:
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
@@ -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
47
biome.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
@@ -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"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user