Add ESLint configuration

This commit is contained in:
Christian Paul 2017-12-23 00:17:51 -08:00
parent 069de8c227
commit 0c27a79ad6
3 changed files with 1124 additions and 0 deletions

29
.eslintrc.js Normal file
View File

@ -0,0 +1,29 @@
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"no-console": 0,
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};

1092
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -43,5 +43,8 @@
"term-mouse": "^0.2.0",
"userhome": "^1.0.0",
"x256": "0.0.2"
},
"devDependencies": {
"eslint": "^4.13.1"
}
}