From 0cead6ac8e7a4ac8c5dc27d8f1b62c52efb62246 Mon Sep 17 00:00:00 2001 From: Stoyan Kolev Date: Mon, 4 Nov 2024 20:55:30 +0200 Subject: [PATCH] lint package.json --- eslint-plugin-tsoa/package.json | 12 ++++++------ eslint.config.mjs | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/eslint-plugin-tsoa/package.json b/eslint-plugin-tsoa/package.json index 2af9609..e0192bd 100644 --- a/eslint-plugin-tsoa/package.json +++ b/eslint-plugin-tsoa/package.json @@ -27,13 +27,13 @@ }, "scripts": { "build": "rimraf dist && tsc --p tsconfig.build.json", - "lint:eslint-docs": "eslint-doc-generator --check", - "update:eslint-docs": "eslint-doc-generator", - "typecheck": "tsc --p tsconfig.json --noEmit", "format": "prettier --cache --write .", "format-check": "prettier --cache --check .", + "lint:eslint-docs": "eslint-doc-generator --check", + "test": "npm run test:only && npm run lint:eslint-docs", "test:only": "vitest run --dir ./src/rules", - "test": "npm run test:only && npm run lint:eslint-docs" + "typecheck": "tsc --p tsconfig.json --noEmit", + "update:eslint-docs": "eslint-doc-generator" }, "overrides": { "@types/eslint": "file:./" @@ -54,9 +54,9 @@ "vitest": "^2.1.4" }, "peerDependencies": { - "@typescript-eslint/parser": ">= 7.0.0", + "@typescript-eslint/parser": ">=7.0.0", "eslint": ">=8.0.0", - "typescript": ">= 5.0.0" + "typescript": ">=5.0.0" }, "license": "MIT", "keywords": [ diff --git a/eslint.config.mjs b/eslint.config.mjs index 7b7a3cc..219fb4b 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -46,6 +46,7 @@ export default [ 'main', 'exports', 'scripts', + 'overrides', 'dependencies', 'devDependencies', 'peerDependencies',