diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package.json b/package.json index 24616e9..903d2b0 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "1.0.0", "main": "index.ts", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "lint": "eslint . --ext ts --max-warnings 0", + "test": "npm run lint" }, "keywords": [], "author": "", @@ -31,6 +32,12 @@ "@types/bluebird": "^3.5.32", "@types/cors": "^2.8.6", "@types/lodash": "^4.14.155", - "@types/mongoose": "^5.7.23" + "@types/mongoose": "^5.7.23", + "@typescript-eslint/eslint-plugin": "^3.2.0", + "@typescript-eslint/parser": "^3.2.0", + "eslint": "^7.2.0", + "eslint-config-airbnb-typescript": "^8.0.2", + "eslint-plugin-import": "^2.21.2", + "typescript": "^3.9.5" } } |