Skip to content

Commit

Permalink
chore: migrate to biome and run
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakuraMizu committed Sep 19, 2024
1 parent 93371e5 commit 3f246d6
Show file tree
Hide file tree
Showing 42 changed files with 394 additions and 2,260 deletions.
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

31 changes: 31 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "ignoreUnknown": false, "ignore": [] },
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineEnding": "lf",
"lineWidth": 100
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"style": {
"noNonNullAssertion": "off"
},
"suspicious": {
"noEmptyBlock": "off"
}
}
},
"javascript": {
"formatter": {
"trailingCommas": "all",
"quoteStyle": "single"
}
}
}
26 changes: 0 additions & 26 deletions eslint.config.js

This file was deleted.

12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,31 @@
"zip:firefox": "wxt zip -b firefox",
"clean": "wxt clean",
"postinstall": "wxt prepare",
"lint": "eslint .",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"check": "biome check",
"lingui:extract": "lingui extract"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.14.1",
"@eslint/js": "^9.10.0",
"@biomejs/biome": "^1.9.2",
"@lingui/cli": "^4.11.4",
"@lingui/swc-plugin": "^4.0.10",
"@lingui/vite-plugin": "^4.11.4",
"@mdx-js/rollup": "^3.0.1",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@types/chrome": "^0.0.271",
"@types/eslint__js": "^8.42.3",
"@types/mdx": "^2.0.13",
"@types/node": "^22.5.5",
"@types/randomstring": "^1.3.0",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@types/redux-logger": "^3.0.13",
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^9.10.0",
"eslint-config-flat-gitignore": "^0.3.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"prettier": "^3.3.3",
"randomstring": "^1.3.0",
"remark-mdx-images": "^3.0.0",
"remark-unwrap-images": "^4.0.0",
"rollup-preserve-directives": "^1.1.1",
"terser": "^5.33.0",
"typescript": "^5.6.2",
"typescript-eslint": "8.6.0",
"unplugin-icons": "^0.19.3",
"vite-plugin-chunk-split": "^0.5.0",
"wxt": "^0.19.9"
Expand Down
Loading

0 comments on commit 3f246d6

Please sign in to comment.