-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslintrc.yaml
60 lines (60 loc) · 1.18 KB
/
eslintrc.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
root: true
env:
browser: true
es6: true
jest: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
extends:
- "airbnb-base"
globals:
Atomics: "readonly"
SharedArrayBuffer: "readonly"
ignorePatterns:
- build/*
- dist/*
- screenshots/*
- cookies/*
parserOptions:
ecmaVersion: 2018
sourceType: "module"
settings:
import/extensions:
- ".js"
- ".jsx"
- ".ts"
- ".tsx"
import/parsers:
"@typescript-eslint/parser":
- ".ts"
- ".tsx"
import/resolver:
node:
extensions:
- ".js"
- ".jsx"
- ".ts"
- ".tsx"
rules:
import/extensions: "off"
import/no-unresolved: "off"
import/no-extraneous-dependencies:
- "error"
- devDependencies:
- "**/*.spec.ts"
- "jest-*-config.js"
- tests/**
import/prefer-default-export: "off"
comma-dangle: "off"
class-methods-use-this: "off"
no-unused-vars: "off"
no-use-before-define: "off"
no-constant-condition:
- "error"
- checkLoops: false
object-curly-newline: "off"
no-restricted-syntax:
["error", "ForInStatement", "LabeledStatement", "WithStatement"]
no-await-in-loop: "off"
no-bitwise: "off"