-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (38 loc) · 946 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
extends: airbnb-base
parserOptions:
ecmaVersion: 2020
sourceType: module
overrides:
- files: ["webpack.config.js", "src/**"]
rules:
import/no-extraneous-dependencies: ["error", {}]
- files: ["src/**"]
env:
browser: true
parserOptions:
ecmaFeatures:
jsx: true
rules:
array-callback-return: off
arrow-parens: ["error", "as-needed"]
comma-dangle: ["error", "never"]
consistent-return: off
default-case: off
eqeqeq: ["error", "always"]
func-names: off
indent: ["error", "tab"]
import/extensions: ["error", "always"]
import/no-commonjs: error
max-classes-per-file: off
no-await-in-loop: off
no-bitwise: off
no-confusing-arrow: off
no-console: off
no-mixed-operators: off
no-param-reassign: off
no-plusplus: off
no-restricted-syntax: off
no-shadow: off
no-tabs: ["error", { allowIndentationTabs: true }]
no-underscore-dangle: off
no-use-before-define: off