Files
Atay-Makhzan/.eslintrc
T

57 lines
1.1 KiB
Plaintext
Raw Normal View History

root: true
extends:
2019-11-14 22:39:51 +01:00
- eslint-config-airbnb-base
- eslint:recommended
ignorePatterns:
- /web_src/js/vendor
parserOptions:
2019-11-14 22:39:51 +01:00
ecmaVersion: 2020
env:
browser: true
es6: true
2019-11-14 22:39:51 +01:00
jquery: true
node: true
globals:
2019-11-17 22:39:06 +01:00
__webpack_public_path__: true
CodeMirror: false
2019-11-14 22:39:51 +01:00
Dropzone: false
emojify: false
SimpleMDE: false
u2fApi: false
rules:
arrow-body-style: [0]
2019-11-14 22:39:51 +01:00
camelcase: [0]
comma-dangle: [2, only-multiline]
consistent-return: [0]
default-case: [0]
func-names: [0]
import/extensions: [0]
2020-02-11 19:53:18 -06:00
import/prefer-default-export: [0]
2019-11-14 22:39:51 +01:00
max-len: [0]
newline-per-chained-call: [0]
no-alert: [0]
2020-03-09 01:41:52 +01:00
no-cond-assign: [2, except-parens]
no-console: [1, {allow: [info, warn, error]}]
2019-11-14 22:39:51 +01:00
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 03:51:46 +02:00
no-var: [2]
2019-11-14 22:39:51 +01:00
one-var-declaration-per-line: [0]
one-var: [0]
prefer-const: [2, {destructuring: all}]
prefer-destructuring: [0]
radix: [2, as-needed]