Skip to content

Commit

Permalink
chore(lint): add biomejs to vscode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbillman committed Aug 21, 2024
1 parent e60586c commit d14ec11
Show file tree
Hide file tree
Showing 9 changed files with 271 additions and 1,165 deletions.
64 changes: 0 additions & 64 deletions extensions/vscode/.eslintrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion extensions/vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ src/**
webpack.config.js
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
**/.vscode-test.*
45 changes: 45 additions & 0 deletions extensions/vscode/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true,
"ignore": ["./node_modules", "./dist"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useKeyWithClickEvents": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
},
"suspicious": {
"noArrayIndexKey": "off"
}
},
"include": ["src/**/*.ts"],
"ignore": ["./node_modules", "./dist"]
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 160,
"include": ["src/**/*.ts"],
"ignore": ["./node_modules", "./dist"]
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"indentStyle": "space",
"quoteStyle": "single",
"jsxQuoteStyle": "single"
}
},
"json": {
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
}
}
Loading

0 comments on commit d14ec11

Please sign in to comment.