Skip to content

Commit

Permalink
chore: Setup biome linting
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed May 10, 2024
1 parent 0e6df57 commit 925a918
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"style": {
"useConst": "off"
},
"suspicious": {
"noShadowRestrictedNames": "off"
}
}
},
"files": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clean": "pnpm --recursive exec rm -rf dist",
"test": "vitest --api",
"format": "biome format .",
"lint": "echo \"TODO: Add linting\"",
"lint": "biome lint .",
"publint": "pnpm --recursive --filter=\"./packages/**\" exec publint"
},
"devDependencies": {
Expand Down

0 comments on commit 925a918

Please sign in to comment.