-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2430 from synonymdev/chore/biome
chore: switch to biome for lint and format
- Loading branch information
Showing
117 changed files
with
2,386 additions
and
2,721 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
eslint: | ||
lint: | ||
name: Run lint check | ||
runs-on: ubuntu-latest | ||
|
||
|
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,35 @@ | ||
{ | ||
"files": { | ||
"ignore": ["src/polyfills/**"] | ||
}, | ||
"linter": { | ||
"rules": { | ||
"complexity": { | ||
"noBannedTypes": "off", | ||
"noForEach": "off" | ||
}, | ||
"performance": { | ||
"noAccumulatingSpread": "off" | ||
}, | ||
"suspicious": { | ||
"noExplicitAny": "off", | ||
"noArrayIndexKey": "off" | ||
}, | ||
"style": { | ||
"noNonNullAssertion": "off", | ||
"noParameterAssign": "off", | ||
"useImportType": "off", | ||
"useNodejsImportProtocol": "off" | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"bracketSameLine": true, | ||
"quoteStyle": "single" | ||
} | ||
}, | ||
"organizeImports": { | ||
"enabled": false | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
module.exports = { | ||
'src/**/*.{ts,tsx}': ['prettier --write', 'eslint --ext .ts,.tsx'], | ||
'*.{yml,md}': ['prettier --write'], | ||
"src/**/*.{ts,tsx}": ["biome check"], | ||
}; |
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 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
Oops, something went wrong.