chore(eslint): add eslint config file

This commit is contained in:
Peter Bacon Darwin 2016-09-08 22:28:45 +01:00 committed by Igor Minar
parent 40a1049d47
commit 611c90da03
1 changed files with 30 additions and 0 deletions

30
.eslintrc.js Normal file
View File

@ -0,0 +1,30 @@
module.exports = {
"globals": {
"describe": true,
"beforeEach": true,
"it": true,
"expect": true
},
"env": {
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};