Merge pull request #384 from thelounge/xpaw/eslint
Update eslint and enforce key-spacing
This commit is contained in:
commit
31e7ef2b69
@ -14,9 +14,11 @@ rules:
|
|||||||
curly: [2, all]
|
curly: [2, all]
|
||||||
eqeqeq: 2
|
eqeqeq: 2
|
||||||
indent: [2, tab]
|
indent: [2, tab]
|
||||||
|
key-spacing: [2, {beforeColon: false, afterColon: true}]
|
||||||
keyword-spacing: [2, {before: true, after: true}]
|
keyword-spacing: [2, {before: true, after: true}]
|
||||||
linebreak-style: [2, unix]
|
linebreak-style: [2, unix]
|
||||||
no-console: 0
|
no-console: 0
|
||||||
|
no-control-regex: 0
|
||||||
no-inner-declarations: 2
|
no-inner-declarations: 2
|
||||||
no-invalid-regexp: 2
|
no-invalid-regexp: 2
|
||||||
no-irregular-whitespace: 2
|
no-irregular-whitespace: 2
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "3.5.0",
|
"chai": "3.5.0",
|
||||||
"eslint": "2.8.0",
|
"eslint": "2.11.1",
|
||||||
"font-awesome": "4.6.3",
|
"font-awesome": "4.6.3",
|
||||||
"grunt": "1.0.1",
|
"grunt": "1.0.1",
|
||||||
"grunt-contrib-uglify": "1.0.1",
|
"grunt-contrib-uglify": "1.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user