hardlounge/.eslintrc.yml

77 lines
1.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:
2019-10-19 21:00:15 +00:00
ecmaVersion: 2018
2019-01-28 15:53:00 +00:00
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:
block-scoped-var: error
curly: [error, all]
dot-notation: error
eqeqeq: error
handle-callback-err: error
no-alert: error
no-catch-shadow: error
no-control-regex: off
no-console: error
no-duplicate-imports: error
no-else-return: error
no-implicit-globals: error
no-shadow: error
no-template-curly-in-string: 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
no-use-before-define:
- error
- functions: false
2018-01-11 11:33:36 +00:00
no-var: error
object-shorthand:
- error
- methods
- avoidExplicitReturnArrows: true
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
spaced-comment: [error, always]
strict: off
yoda: error
vue/component-tags-order:
- error
- order:
- template
- style
- script
vue/no-mutating-props: off
2018-07-29 17:57:14 +00:00
vue/no-v-html: off
vue/require-default-prop: off
vue/v-slot-style: [error, longform]
2015-09-30 22:15:19 +00:00
plugins:
- vue
extends:
- eslint:recommended
- plugin:vue/recommended
2019-07-17 09:32:26 +00:00
- prettier
- prettier/vue