mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
40 lines
722 B
YAML
40 lines
722 B
YAML
---
|
|
|
|
root: true
|
|
|
|
env:
|
|
browser: true
|
|
mocha: true
|
|
node: true
|
|
|
|
rules:
|
|
block-spacing: [2, always]
|
|
comma-dangle: 0
|
|
curly: [2, multi-line]
|
|
eqeqeq: 2
|
|
indent: [2, tab]
|
|
keyword-spacing: [2, {before: true, after: true}]
|
|
linebreak-style: [2, unix]
|
|
no-console: 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
|