Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
npx --no-install lint-staged
npx lint-staged
12 changes: 6 additions & 6 deletions .textlintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"plugins": {},
"filters": {},
"rules": {
"preset-japanese": true
}
}
"plugins": {},
"filters": {},
"rules": {
"preset-japanese": true
}
}
45 changes: 45 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"files": {
"ignoreUnknown": false,
"includes": ["src/**/*", "test/**/*", "*.js", "*.ts", "*.json"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120,
"lineEnding": "lf"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "error",
"noImplicitAnyLet": "error",
"noAssignInExpressions": "error",
"noMisleadingCharacterClass": "error"
},
"style": {
"noNonNullAssertion": "error"
},
"correctness": {
"noUnusedVariables": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "none"
}
},
"json": {
"formatter": {
"enabled": true
}
}
}
198 changes: 181 additions & 17 deletions package-lock.json

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

Loading