2019-05-16 11:27:47 +05:30
|
|
|
root: true
|
|
|
|
|
|
|
|
extends:
|
2019-11-15 03:09:51 +05:30
|
|
|
- eslint-config-airbnb-base
|
2019-05-16 11:27:47 +05:30
|
|
|
- eslint:recommended
|
|
|
|
|
2020-02-07 22:39:30 +05:30
|
|
|
ignorePatterns:
|
|
|
|
- /web_src/js/vendor
|
|
|
|
|
2019-05-16 11:27:47 +05:30
|
|
|
parserOptions:
|
2019-11-15 03:09:51 +05:30
|
|
|
ecmaVersion: 2020
|
2019-05-16 11:27:47 +05:30
|
|
|
|
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
es6: true
|
2019-11-15 03:09:51 +05:30
|
|
|
jquery: true
|
2019-11-13 20:22:13 +05:30
|
|
|
node: true
|
2019-05-16 11:27:47 +05:30
|
|
|
|
|
|
|
globals:
|
2019-11-18 03:09:06 +05:30
|
|
|
__webpack_public_path__: true
|
2019-05-16 11:27:47 +05:30
|
|
|
CodeMirror: false
|
2019-11-15 03:09:51 +05:30
|
|
|
Dropzone: false
|
2019-05-16 11:27:47 +05:30
|
|
|
emojify: false
|
|
|
|
SimpleMDE: false
|
|
|
|
u2fApi: false
|
|
|
|
|
|
|
|
rules:
|
2019-11-22 05:00:14 +05:30
|
|
|
arrow-body-style: [0]
|
2019-11-15 03:09:51 +05:30
|
|
|
camelcase: [0]
|
|
|
|
comma-dangle: [2, only-multiline]
|
|
|
|
consistent-return: [0]
|
|
|
|
default-case: [0]
|
|
|
|
func-names: [0]
|
2019-11-22 05:00:14 +05:30
|
|
|
import/extensions: [0]
|
2020-02-12 07:23:18 +05:30
|
|
|
import/prefer-default-export: [0]
|
2019-11-15 03:09:51 +05:30
|
|
|
max-len: [0]
|
|
|
|
newline-per-chained-call: [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-16 07:21:46 +05:30
|
|
|
no-var: [2]
|
2019-11-15 03:09:51 +05:30
|
|
|
one-var-declaration-per-line: [0]
|
|
|
|
one-var: [0]
|
|
|
|
prefer-const: [2, {destructuring: all}]
|
|
|
|
prefer-destructuring: [0]
|
|
|
|
radix: [2, as-needed]
|