From ff78c6cf1fdb2fbcee5e600922394977486773f3 Mon Sep 17 00:00:00 2001 From: ahmetemrekilinc Date: Fri, 3 Nov 2023 18:18:02 +0300 Subject: [PATCH] unused eslint configs deleted --- .eslintrc.cjs | 18 ------------------ package.json | 3 +-- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .eslintrc.cjs diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index d6c9537..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - root: true, - env: { browser: true, es2020: true }, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:react-hooks/recommended', - ], - ignorePatterns: ['dist', '.eslintrc.cjs'], - parser: '@typescript-eslint/parser', - plugins: ['react-refresh'], - rules: { - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - }, -} diff --git a/package.json b/package.json index 0c470a0..edc4103 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,7 @@ "prepublishOnly": "npm run build", "start-storybook": "vite --port 3183", "preview-storybook": "vite preview", - "build-storybook": "vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" + "build-storybook": "vite build" }, "repository": { "type": "git",