From 91f69e97114e5a5369d900f7c6b69ab5a3814912 Mon Sep 17 00:00:00 2001 From: CookieDasora Date: Wed, 24 Jan 2024 14:36:31 +0000 Subject: [PATCH] feat: removed eslint and prettier in favor of biome --- .eslintignore | 2 -- .eslintrc.json | 17 ----------------- .prettierrc | 8 -------- biome.json | 12 ++++++++++++ 4 files changed, 12 insertions(+), 27 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.json delete mode 100644 .prettierrc create mode 100644 biome.json diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 76add87..0000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -dist \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 21629ad..0000000 --- a/.eslintrc.json +++ /dev/null @@ -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 - } -} diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 56fd103..0000000 --- a/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "semi": false, - "singleQuote": true, - "arrowParens": "avoid", - "useTabs": false, - "endOfLine": "lf", - "tabWidth": 2 -} diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..f8702e4 --- /dev/null +++ b/biome.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.5.3/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + } +}