thelounge/.eslintrc.yml

105 lines
2.4 KiB
YAML
Raw Normal View History

2015-09-30 22:15:19 +00:00
---
root: true
2019-01-28 15:53:00 +00:00
parserOptions:
ecmaVersion: 2017
2015-09-30 22:15:19 +00:00
env:
es6: true
2015-09-30 22:15:19 +00:00
browser: true
mocha: true
node: true
rules:
arrow-body-style: error
arrow-parens: [error, always]
arrow-spacing: error
block-scoped-var: error
block-spacing: [error, always]
brace-style: [error, 1tbs]
comma-dangle:
- error
- always-multiline
curly: [error, all]
dot-location: [error, property]
dot-notation: error
eol-last: error
eqeqeq: error
handle-callback-err: error
indent: [error, tab]
key-spacing: [error, {beforeColon: false, afterColon: true}]
keyword-spacing: [error, {before: true, after: true}]
linebreak-style: [error, unix]
no-alert: error
no-catch-shadow: error
no-confusing-arrow: [error, {allowParens: true}]
no-control-regex: off
no-duplicate-imports: error
no-else-return: error
no-implicit-globals: error
no-multi-spaces: error
no-multiple-empty-lines: [error, { "max": 1 }]
no-shadow: error
no-template-curly-in-string: error
no-trailing-spaces: error
no-unsafe-negation: error
no-useless-computed-key: error
2018-02-18 19:56:39 +00:00
no-useless-constructor: error
no-useless-return: error
2017-12-06 13:55:55 +00:00
no-use-before-define: [error, {functions: false}]
2018-01-11 11:33:36 +00:00
no-var: error
object-curly-spacing: [error, never]
object-shorthand:
- error
- methods
- avoidExplicitReturnArrows: true
padded-blocks: [error, never]
padding-line-between-statements:
- error
- blankLine: always
prev:
- block
- block-like
next: "*"
- blankLine: always
prev: "*"
next:
- block
- block-like
prefer-const: error
2018-02-18 19:56:39 +00:00
prefer-rest-params: error
prefer-spread: error
2018-03-23 14:15:59 +00:00
quote-props: [error, consistent-as-needed]
quotes: [error, double, avoid-escape]
2018-02-18 19:56:39 +00:00
rest-spread-spacing: error
semi-spacing: error
semi-style: [error, last]
semi: [error, always]
space-before-blocks: error
space-before-function-paren:
- error
- anonymous: never
named: never
asyncArrow: always # Otherwise requires `async()`
space-in-parens: [error, never]
space-infix-ops: error
spaced-comment: [error, always]
strict: off
template-curly-spacing: error
yoda: error
vue/html-indent: [error, tab]
vue/require-default-prop: off
2018-07-29 17:57:14 +00:00
vue/no-v-html: off
2018-09-05 07:11:58 +00:00
vue/no-use-v-if-with-v-for: off
vue/html-closing-bracket-newline: error
2018-12-17 10:29:49 +00:00
vue/multiline-html-element-content-newline: off
vue/singleline-html-element-content-newline: off
2015-09-30 22:15:19 +00:00
plugins:
- vue
extends:
- eslint:recommended
- plugin:vue/recommended