1 | parser: babel-eslint
|
2 | parserOptions:
|
3 | ecmaVersion: 6
|
4 | extends:
|
5 | - airbnb-base
|
6 | - plugin:flowtype/recommended
|
7 | plugins:
|
8 | - flowtype
|
9 | rules:
|
10 | brace-style:
|
11 | - error
|
12 | - stroustrup
|
13 | class-methods-use-this: off
|
14 |
|
15 | import/no-unresolved: off
|
16 | comma-dangle:
|
17 | - error
|
18 | -
|
19 | arrays: always-multiline
|
20 | objects: always-multiline
|
21 | imports: always-multiline
|
22 | exports: always-multiline
|
23 | functions: ignore
|
24 | max-len:
|
25 | - warn
|
26 | -
|
27 | code: 100
|
28 | comments: 80
|
29 | ignoreUrls: true
|
30 | ignorePattern: "(new Error\\(|new TypeError\\()"
|
31 | ignoreTrailingComments: true
|
32 | tabWidth: 2
|
33 | no-param-reassign: off
|
34 | no-underscore-dangle: off
|
35 | no-unused-vars: warn
|
36 | no-warning-comments: warn
|
37 | quotes:
|
38 | - error
|
39 | - single
|
40 | -
|
41 | avoidEscape: true
|
42 | allowTemplateLiterals: true
|
43 | require-jsdoc:
|
44 | - error
|
45 | -
|
46 | require:
|
47 | FunctionDeclaration: true
|
48 | MethodDefinition: true
|
49 | ClassDeclaration: true
|
50 | valid-jsdoc: error
|