-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
41 lines (40 loc) · 879 Bytes
/
.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
extends:
- prettier
- airbnb-base
plugins:
- prettier
parser: '@babel/eslint-parser'
parserOptions:
sourceType: script
babelOptions:
plugins:
- '@babel/plugin-proposal-class-properties'
- '@babel/plugin-proposal-private-methods'
rules:
valid-jsdoc:
- error
- requireReturn: false
requireReturnDescription: false
preferType:
String: string
Number: number
Boolean: boolean
Function: function
object: Object
date: Date
error: Error
prefer:
return: returns
no-underscore-dangle: 'off'
strict:
- error
- safe
linebreak-style: 'off'
no-restricted-syntax: 'off'
no-await-in-loop: 'off'
global-require: 'off'
no-fallthrough: 'off'
no-param-reassign: 'off'
no-case-declarations: 'off'
no-nested-ternary: 'off'
no-unused-expressions: 'off'