diff --git a/eslint.config.js b/eslint.config.js index 9a2e253..f9fc24d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,4 +1,5 @@ import js from '@eslint/js'; +import eslintConfigPrettier from 'eslint-config-prettier'; import perfectionist from 'eslint-plugin-perfectionist'; import prettier from 'eslint-plugin-prettier'; import promise from 'eslint-plugin-promise'; @@ -43,4 +44,5 @@ export default tseslint.config( '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], }, }, + eslintConfigPrettier, ); diff --git a/package.json b/package.json index 7848535..0603887 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "format": "prettier --write .", "format:check": "prettier --check .", "prepare": "husky"