-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Eslint & Prettier with biome.js (#167)
* chore: replace eslint and prettier with biome * chore: address lint errors * ci: update github action to use biome
- Loading branch information
Showing
16 changed files
with
2,443 additions
and
2,718 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"files": { | ||
"ignore": ["dist/**"] | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"indentStyle": "space" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,7 @@ | |
"buildTS": "pkgroll && tsx test/buildScripts/buildTS.ts", | ||
"buildTS2": "pkgroll && tsx test/buildScripts/arrayOfObjects.ts", | ||
"test": "rm -rf dist && pkgroll && vitest run", | ||
"format": "prettier --write .", | ||
"lint": "prettier --check . && eslint .", | ||
"check": "biome check --write .", | ||
"release:major": "standard-version --no-verify --release-as major", | ||
"release:minor": "standard-version --no-verify --release-as minor", | ||
"release:patch": "standard-version --no-verify --release-as patch" | ||
|
@@ -34,24 +33,17 @@ | |
], | ||
"author": "David Peng <[email protected]>", | ||
"license": "MIT", | ||
"files": [ | ||
"dist" | ||
], | ||
"files": ["dist"], | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.8.0", | ||
"@types/node": "20.14.2", | ||
"@typescript-eslint/eslint-plugin": "7.12.0", | ||
"@typescript-eslint/parser": "7.12.0", | ||
"esbuild": "0.21.5", | ||
"eslint": "8.57.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-prettier": "5.1.3", | ||
"execa": "8.0.1", | ||
"nodemon": "3.1.3", | ||
"pino": "8.21.0", | ||
"pino-loki": "2.3.0", | ||
"pino-pretty": "10.3.1", | ||
"pkgroll": "2.1.1", | ||
"prettier": "3.3.1", | ||
"standard-version": "9.5.0", | ||
"thread-stream": "2.7.0", | ||
"tsx": "4.15.1", | ||
|
Oops, something went wrong.