1
0
Fork 0

Added eslintrc

This commit is contained in:
Alan Plum 2015-09-19 03:12:58 +02:00
parent 798b4fc521
commit f19263ab78
1 changed files with 17 additions and 0 deletions

17
js/.eslintrc Normal file
View File

@ -0,0 +1,17 @@
{
"env": {
"node": true,
"es6": true
},
"rules": {
"new-cap": 0,
"curly": [2, "multi-line"],
"dot-notation": [2, {"allowPattern": "[^_a-z0-9]+"}],
"global-strict": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"quotes": [1, "single"],
"strict": [2, "global"]
}
}