thelounge/.eslintrc.yml

65 lines
1.3 KiB
YAML
Raw Normal View History

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