Skip to content

Commit

Permalink
added lint staged and adjusted some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wkelly17 committed Dec 6, 2023
1 parent 151260a commit d62c40b
Show file tree
Hide file tree
Showing 7 changed files with 1,994 additions and 826 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged -v
50 changes: 25 additions & 25 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 80,
"ignore": []
},
"files": {
"include": ["src/**/*.{ts, tsx, js, jsx}"],
"ignore": ["node_modules", "bcApi.ts", "tests"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off"
}
}
}
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 80,
"ignore": []
},
"files": {
"include": ["src/**/*"],
"ignore": ["node_modules", "bcApi.ts", "tests"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off"
}
}
}
}
Loading

0 comments on commit d62c40b

Please sign in to comment.