Skip to content

Commit

Permalink
chore: use .gitignore for biome ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Apr 8, 2024
1 parent 978d139 commit 7a8124e
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.5.1/schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"defaultBranch": "main",
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignore": [
".nx/**/*",
"dist/**/*",
"dist-*/**/*",
"coverage/**/*",
"cspell.json",
"compiled/**/*",
"**/*/fixtures/**/*",
"*.test.ts",
"*.js",
"*.tsx",
"*.css.d.ts"
],
"ignore": ["*.test.ts", "*.js", "*.tsx"],
"ignoreUnknown": true
},
"linter": {
Expand Down Expand Up @@ -52,7 +46,7 @@
"useExportType": "error"
},
"correctness": {
"noSwitchDeclarations": "off"
"noSwitchDeclarations": "off"
},
"a11y": {
"useButtonType": "off",
Expand Down

0 comments on commit 7a8124e

Please sign in to comment.