Skip to content

Commit

Permalink
feat: Changed Eslint to Biome
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilaton committed May 29, 2024
1 parent 461fc54 commit 92894be
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 2,375 deletions.
32 changes: 32 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"files": {
"ignore": ["build", "coverage", "node_modules", "package.json"]
},
"formatter": {
"indentStyle": "space",
"lineWidth": 100
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "es5"
}
},
"linter": {
"enabled": true,
"rules": {
"all": true,
"style": {
"noDefaultExport": "off",
"noNonNullAssertion": "off"
},
"suspicious": {
"noConsoleLog": "off"
}
}
},
"organizeImports": {
"enabled": true
}
}
4 changes: 0 additions & 4 deletions eslint.config.js

This file was deleted.

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,19 @@
"prebuild": "rimraf build",
"build": "rollup --config",
"check": "tsc --noEmit",
"lint": "eslint .",
"lint:dryRun": "biome check .",
"test": "c8 tsx test/index.test.ts"
},
"devDependencies": {
"@pilaton/eslint-config-base": "^1.3.0",
"@biomejs/biome": "^1.7.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.12.8",
"@types/node": "^20.12.13",
"c8": "^9.1.0",
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.17.2",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"tslib": "^2.6.2",
"tsx": "^4.9.3",
"tsx": "^4.11.0",
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit 92894be

Please sign in to comment.