diff --git a/.gitignore b/.gitignore index 30070c2..d2f257c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ logs *.log npm-debug.log* +# Linter +.lint-reports/ + # Coverage .nyc_output .test-reports diff --git a/package.json b/package.json index ecd4db5..6f3461f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "prestart": "npm run build", "start": "cd dist && node src/index.js", "build:check": "npm run build -- --noEmit", - "lint": "eslint ./src ./test --ext .ts", + "lint": "eslint -o .lint-reports/eslint.json -f json --ext .ts ./src ./test", "lint:fix": "npm run lint -- --fix", "db:migrate": "knex migrate:latest", "db:migrate:rollback": "knex migrate:rollback",