forked from mirrors/thatmattlove-hyperglass
tooling cleanup
This commit is contained in:
parent
3f88af4d65
commit
2e1582a674
3 changed files with 55 additions and 42 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"yaml.format.singleQuote": true,
|
"yaml.format.singleQuote": true,
|
||||||
"eslint.workingDirectories": ["./hyperglass/ui"],
|
|
||||||
"python.linting.mypyEnabled": false,
|
"python.linting.mypyEnabled": false,
|
||||||
"python.linting.enabled": false,
|
"python.linting.enabled": false,
|
||||||
"biome.lspBin": "./hyperglass/ui/node_modules/.bin/biome"
|
"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",
|
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
|
||||||
"organizeImports": {
|
"extends": ["../../biome.json"]
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue