thelounge/.eslintrc.yml

46 lines
854 B
YAML

---
root: true
env:
browser: true
mocha: true
node: true
parserOptions:
ecmaVersion: 6
rules:
block-spacing: [2, always]
brace-style: [2, 1tbs]
comma-dangle: 0
curly: [2, all]
eqeqeq: 2
indent: [2, tab]
key-spacing: [2, {beforeColon: false, afterColon: true}]
keyword-spacing: [2, {before: true, after: true}]
linebreak-style: [2, unix]
no-console: 0
no-control-regex: 0
no-inner-declarations: 2
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-trailing-spaces: 2
no-unexpected-multiline: 2
no-unreachable: 2
object-curly-spacing: [2, never]
quotes: [2, double, avoid-escape]
semi: [2, always]
space-before-blocks: 2
space-infix-ops: 2
spaced-comment: [2, always]
globals:
log: false
$: false
Favico: false
Handlebars: false
io: false
Mousetrap: false
extends: eslint:recommended