Add eslint

This commit is contained in:
Pedro Pombeiro 2019-01-16 19:46:20 +01:00
parent 5536b379f7
commit d0d4ffa7bc
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
3 changed files with 6046 additions and 0 deletions

28
.eslintrc.json Normal file
View File

@ -0,0 +1,28 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}

View File

@ -23,6 +23,7 @@
"probot": "^7.2.0" "probot": "^7.2.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^5.12.0",
"jest": "^22.4.3", "jest": "^22.4.3",
"nock": "^10.0.0", "nock": "^10.0.0",
"nodemon": "^1.17.2", "nodemon": "^1.17.2",

6017
yarn.lock Normal file

File diff suppressed because it is too large Load Diff