Skip to content

Commit

Permalink
Made biome stricter, updated lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Nov 30, 2024
1 parent 3b1804a commit cbad207
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
9 changes: 7 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"rules": {
"recommended": true,
"suspicious": {
"recommended": true
"recommended": true,
"noConsole": "error"
},
"style": {
"recommended": true
Expand All @@ -39,7 +40,11 @@
"recommended": true
},
"correctness": {
"recommended": true
"recommended": true,
"noUnusedImports": "error",
"noUnusedVariables": "error",
"noUnusedLabels": "error",
"noUnusedFunctionParameters": "error"
},
"a11y": {
"recommended": true
Expand Down
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"homepage": "https://github.com/forge42dev/open-source-stack#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.7",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.2",
Expand Down

0 comments on commit cbad207

Please sign in to comment.