Add and configure eslint for express package linting

pull/32/head
HardiReady 2018-03-12 09:23:13 +01:00
parent 8af6605a36
commit c78651a703
3 changed files with 745 additions and 910 deletions

6
api/.eslintrc.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
"extends": "google",
"parserOptions": {
"ecmaVersion": 6
}
};

1643
api/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,8 @@
"devDependencies": {
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"eslint": "^4.18.2",
"eslint-config-google": "^0.9.1",
"mocha": "^3.5.3",
"nodemon": "^1.14.12"
}