Skip to content

Commit

Permalink
biome 追加
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Nov 17, 2023
1 parent 3631612 commit db2fd7e
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
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/1.3.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"ignore": [],
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"json": {
"parser": {
"allowComments": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
}
},
"javascript": {
"formatter": {
"enabled": true,
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"trailingComma": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"quoteProperties": "asNeeded"
}
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"dist"
],
"devDependencies": {
"@biomejs/biome": "1.3.3",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"eslint": "8.53.0",
Expand Down
71 changes: 71 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit db2fd7e

Please sign in to comment.