From e328cd5499f95f1d7178aba1ba4cc1870497adf0 Mon Sep 17 00:00:00 2001 From: Dmitri Zagidulin Date: Sun, 31 Dec 2023 18:30:00 -0500 Subject: [PATCH] Fix eslint error. --- package.json | 7 ++++++- tsconfig.spec.json | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b0d1fb3..5f2d668 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "npm run clear && tsc -d && tsc -p tsconfig.esm.json", "clear": "rimraf dist/*", - "lint": "ts-standard --fix", + "lint": "ts-standard --fix --project tsconfig.spec.json", "prepare": "npm run build", "rebuild": "npm run clear && npm run build", "test": "npm run lint && npm run test-node && npm run test-karma", @@ -20,6 +20,11 @@ "main": "dist/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "dependencies": { + }, + "resolutions": { + "@typescript-eslint/typescript-estree": "^6.1.6" + }, "devDependencies": { "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", diff --git a/tsconfig.spec.json b/tsconfig.spec.json index e947de9..5bf0e78 100644 --- a/tsconfig.spec.json +++ b/tsconfig.spec.json @@ -19,8 +19,9 @@ }, "include": [ "src/**/*", + "test/**/*.spec.ts", ".eslintrc.js", "karma.conf.js" ], - "exclude": ["node_modules", "dist", "test"] + "exclude": ["node_modules", "dist"] }