feat: removed eslint and prettier in favor of biome

This commit is contained in:
Hackntosh 2024-01-24 14:36:31 +00:00
parent 07d61a79c3
commit 91f69e9711
4 changed files with 12 additions and 27 deletions

View file

@ -1,2 +0,0 @@
node_modules
dist

View file

@ -1,17 +0,0 @@
{
"env": {
"es2021": true,
"node": true
},
"plugins": ["prettier"],
"extends": ["plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"rules": {
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/explicit-function-return-type": 1
}
}

View file

@ -1,8 +0,0 @@
{
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"useTabs": false,
"endOfLine": "lf",
"tabWidth": 2
}

12
biome.json Normal file
View file

@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}