Skip to content

Commit

Permalink
refact: Migrate from ESLint and Prettier to Biome
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadashy committed Aug 26, 2024
1 parent 6f7fcb9 commit c51435e
Show file tree
Hide file tree
Showing 49 changed files with 349 additions and 1,887 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ repopack-output.xml

# yarn
.yarn/

# biome
.biome/
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tsconfig.build.json
eslint.config.mjs
prettier.config.mjs
vite.config.mts
biome.json

# Git files
.gitignore
Expand Down Expand Up @@ -57,3 +58,6 @@ CHANGELOG.md
# OS generated files
.DS_Store
Thumbs.db

# biome
.biome/
26 changes: 26 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all",
"semicolons": "always"
}
}
}
78 changes: 0 additions & 78 deletions eslint.config.js

This file was deleted.

Loading

0 comments on commit c51435e

Please sign in to comment.