From 39ebcda19586d0e50e9646003a9cf7cd3f64293d Mon Sep 17 00:00:00 2001 From: Marcus Olsson <8396880+marcusolsson@users.noreply.github.com> Date: Sun, 31 May 2026 15:47:44 +0200 Subject: [PATCH] chore(eslint): align with api baseline - Add eslint-config-prettier to eslint.config.js (was in devDeps but unused) - Standardize lint scripts: drop legacy --ext flag --- eslint.config.js | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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"