2015-09-30 22:15:19 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
root: true
|
|
|
|
|
|
|
|
env:
|
2016-11-20 13:23:35 +00:00
|
|
|
es6: true
|
2015-09-30 22:15:19 +00:00
|
|
|
browser: true
|
|
|
|
mocha: true
|
|
|
|
node: true
|
|
|
|
|
|
|
|
rules:
|
2017-04-08 12:34:31 +00:00
|
|
|
arrow-body-style: 2
|
|
|
|
arrow-parens: [2, always]
|
|
|
|
arrow-spacing: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
block-scoped-var: 2
|
2016-03-09 08:50:20 +00:00
|
|
|
block-spacing: [2, always]
|
2016-05-01 09:41:17 +00:00
|
|
|
brace-style: [2, 1tbs]
|
2015-09-30 22:15:19 +00:00
|
|
|
comma-dangle: 0
|
2016-05-01 09:41:17 +00:00
|
|
|
curly: [2, all]
|
2017-04-08 12:34:31 +00:00
|
|
|
dot-location: [2, property]
|
2016-10-09 08:54:44 +00:00
|
|
|
dot-notation: 2
|
2017-03-29 04:05:28 +00:00
|
|
|
eol-last: 2
|
2015-09-30 22:15:19 +00:00
|
|
|
eqeqeq: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
handle-callback-err: 2
|
2017-04-08 12:34:31 +00:00
|
|
|
indent: [2, tab]
|
2016-06-05 18:48:34 +00:00
|
|
|
key-spacing: [2, {beforeColon: false, afterColon: true}]
|
2016-03-09 08:50:20 +00:00
|
|
|
keyword-spacing: [2, {before: true, after: true}]
|
2015-09-30 22:15:19 +00:00
|
|
|
linebreak-style: [2, unix]
|
2017-04-08 12:34:31 +00:00
|
|
|
no-catch-shadow: 2
|
|
|
|
no-confusing-arrow: 2
|
2015-09-30 22:15:19 +00:00
|
|
|
no-console: 0
|
2016-06-05 18:48:34 +00:00
|
|
|
no-control-regex: 0
|
2017-04-08 12:34:31 +00:00
|
|
|
no-duplicate-imports: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
no-else-return: 2
|
|
|
|
no-implicit-globals: 2
|
|
|
|
no-multi-spaces: 2
|
2017-03-18 19:40:39 +00:00
|
|
|
no-multiple-empty-lines: [2, { "max": 1 }]
|
2016-10-09 08:54:44 +00:00
|
|
|
no-shadow: 2
|
|
|
|
no-template-curly-in-string: 2
|
2015-09-30 22:15:19 +00:00
|
|
|
no-trailing-spaces: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
no-unsafe-negation: 2
|
2017-04-08 12:34:31 +00:00
|
|
|
no-useless-computed-key: 2
|
2016-11-19 08:49:16 +00:00
|
|
|
no-useless-return: 2
|
2016-03-09 08:50:20 +00:00
|
|
|
object-curly-spacing: [2, never]
|
2017-03-18 19:40:39 +00:00
|
|
|
padded-blocks: [2, never]
|
2017-04-08 12:34:31 +00:00
|
|
|
prefer-const: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
quote-props: [2, as-needed]
|
2015-12-01 21:19:55 +00:00
|
|
|
quotes: [2, double, avoid-escape]
|
2017-04-08 12:34:31 +00:00
|
|
|
semi-style: [2, last]
|
2016-03-09 08:50:20 +00:00
|
|
|
semi: [2, always]
|
|
|
|
space-before-blocks: 2
|
2016-10-09 08:54:44 +00:00
|
|
|
space-before-function-paren: [2, never]
|
2017-03-18 19:40:39 +00:00
|
|
|
space-in-parens: [2, never]
|
2016-03-09 08:50:20 +00:00
|
|
|
space-infix-ops: 2
|
|
|
|
spaced-comment: [2, always]
|
2016-10-09 19:14:02 +00:00
|
|
|
strict: 2
|
2017-04-08 12:34:31 +00:00
|
|
|
template-curly-spacing: 2
|
|
|
|
yoda: 2
|
2015-09-30 22:15:19 +00:00
|
|
|
|
|
|
|
globals:
|
2016-04-16 11:32:38 +00:00
|
|
|
log: false
|
2015-09-30 22:15:19 +00:00
|
|
|
|
|
|
|
extends: eslint:recommended
|