diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/package.json b/package.json index f9a88c2..08eb348 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "build": "astro check && astro build", "preview": "astro preview", "astro": "astro", - "lint": "eslint", + "lint": "tsc && eslint .", "format": "prettier --write ." }, "devDependencies": { @@ -27,6 +27,7 @@ "@typescript-eslint/parser": "^7.0.1", "astro": "^4.3.6", "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-mdx": "^3.1.5", "execa": "^8.0.1", "fsevents": "^2.3.3", @@ -34,7 +35,23 @@ "prettier-eslint": "^16.3.0", "sharp": "^0.33.2", "tailwindcss": "^3.4.1", - "typescript": "^5.3.3" + "typescript": "^5.3.3", + "typescript-eslint": "^7.0.1" }, - "packageManager": "[email protected]+sha256.245fe901f8e7fa8782d7f17d32b6a83995e2ae03984cb5b62b8949bfdc27c7b5" + "packageManager": "[email protected]+sha256.245fe901f8e7fa8782d7f17d32b6a83995e2ae03984cb5b62b8949bfdc27c7b5", + "eslintConfig": { + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "prettier" + ], + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint" + ], + "root": true, + "ignorePatterns": [ + "dist/**" + ] + } } |
