2019-05-15 22:57:47 -07:00
|
|
|
root: true
|
|
|
|
|
|
|
|
extends:
|
2019-11-14 14:39:51 -07:00
|
|
|
- eslint-config-airbnb-base
|
2019-05-15 22:57:47 -07:00
|
|
|
- eslint:recommended
|
|
|
|
|
|
|
|
parserOptions:
|
2019-11-14 14:39:51 -07:00
|
|
|
ecmaVersion: 2020
|
2019-05-15 22:57:47 -07:00
|
|
|
|
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
es6: true
|
2019-11-14 14:39:51 -07:00
|
|
|
jquery: true
|
2019-11-13 07:52:13 -07:00
|
|
|
node: true
|
2019-05-15 22:57:47 -07:00
|
|
|
|
|
|
|
globals:
|
|
|
|
Clipboard: false
|
|
|
|
CodeMirror: false
|
2019-11-14 14:39:51 -07:00
|
|
|
Dropzone: false
|
2019-05-15 22:57:47 -07:00
|
|
|
emojify: false
|
2019-11-14 14:39:51 -07:00
|
|
|
hljs: false
|
2019-05-15 22:57:47 -07:00
|
|
|
SimpleMDE: false
|
|
|
|
u2fApi: false
|
2019-11-14 14:39:51 -07:00
|
|
|
Vue: false
|
2019-05-15 22:57:47 -07:00
|
|
|
|
|
|
|
rules:
|
2019-11-14 14:39:51 -07:00
|
|
|
camelcase: [0]
|
|
|
|
comma-dangle: [2, only-multiline]
|
|
|
|
consistent-return: [0]
|
|
|
|
default-case: [0]
|
|
|
|
func-names: [0]
|
|
|
|
max-len: [0]
|
|
|
|
newline-per-chained-call: [0]
|
|
|
|
arrow-body-style: [0]
|
|
|
|
no-alert: [0]
|
|
|
|
no-continue: [0]
|
|
|
|
no-mixed-operators: [0]
|
|
|
|
no-multi-assign: [0]
|
|
|
|
no-new: [0]
|
|
|
|
no-param-reassign: [0]
|
|
|
|
no-plusplus: [0]
|
|
|
|
no-restricted-syntax: [0]
|
|
|
|
no-shadow: [0]
|
|
|
|
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, ignoreRestSiblings: true}]
|
|
|
|
no-use-before-define: [0]
|
2019-07-15 18:51:46 -07:00
|
|
|
no-var: [2]
|
2019-11-14 14:39:51 -07:00
|
|
|
one-var-declaration-per-line: [0]
|
|
|
|
one-var: [0]
|
|
|
|
prefer-const: [2, {destructuring: all}]
|
|
|
|
prefer-destructuring: [0]
|
|
|
|
radix: [2, as-needed]
|