chore: Error on linter warnings

This commit is contained in:
Joachim Van Herwegen 2022-03-29 14:09:26 +02:00
parent e4688e12a1
commit 5d802c6a34
2 changed files with 2 additions and 1 deletions

View File

@ -133,6 +133,7 @@ module.exports = {
}],
'import/no-duplicates': 'error',
'import/no-extraneous-dependencies': 'error',
'import/no-named-as-default': 'off',
// Doesn't work with type imports
'no-duplicate-imports': 'off',
'unused-imports/no-unused-imports-ts': 'error',

View File

@ -49,7 +49,7 @@
"docker:stop": "./test/docker/docker-stop.sh",
"docs": "typedoc",
"jest": "jest --coverageReporters text-summary --",
"lint": "eslint . --cache --ignore-path .gitignore",
"lint": "eslint . --cache --ignore-path .gitignore --max-warnings 0",
"prepare": "npm run build",
"start": "node ./bin/server.js",
"start:file": "node ./bin/server.js -c config/file.json -f ./data",