|
1 | 1 | env: |
| 2 | + es6: true |
2 | 3 | node: true |
3 | | -extends: [ 'eslint:recommended', 'plugin:react/recommended' ] |
4 | | -parser: '@typescript-eslint/parser' |
5 | | -parserOptions: |
6 | | - sourceType: module |
7 | | -settings: |
8 | | - react: |
9 | | - version: detect |
10 | 4 | rules: |
11 | | - indent: [ 2, 2, { SwitchCase: 1 } ] |
12 | | - no-trailing-spaces: 2 |
13 | | - quotes: [ 2, single, avoid-escape ] |
14 | | - linebreak-style: [ 2, unix ] |
15 | | - semi: [ 2, always ] |
16 | | - valid-jsdoc: [ 2, { requireReturn: false } ] |
17 | | - no-invalid-this: 2 |
18 | | - no-unused-vars: [ 2, { args: none } ] |
19 | | - no-console: [ 2, { allow: [ warn, error ] } ] |
20 | 5 | block-scoped-var: 2 |
21 | | - curly: [ 2, multi-or-nest, consistent ] |
22 | | - dot-location: [ 2, property ] |
| 6 | + callback-return: 2 |
| 7 | + curly: [2, multi-or-nest, consistent] |
| 8 | + dot-location: [2, property] |
23 | 9 | dot-notation: 2 |
| 10 | + indent: [2, 2, { SwitchCase: 1 }] |
| 11 | + linebreak-style: [2, unix] |
24 | 12 | no-else-return: 2 |
25 | 13 | no-eq-null: 2 |
26 | 14 | no-fallthrough: 2 |
| 15 | + no-path-concat: 2 |
27 | 16 | no-return-assign: 2 |
| 17 | + no-trailing-spaces: 2 |
| 18 | + no-unused-vars: [2, { args: none }] |
| 19 | + no-use-before-define: [2, nofunc] |
| 20 | + quotes: [2, single, avoid-escape] |
| 21 | + semi: [2, always] |
28 | 22 | strict: 0 |
29 | | - no-use-before-define: [ 2, nofunc ] |
30 | | - callback-return: 2 |
31 | | - no-path-concat: 2 |
32 | | -globals: |
33 | | - document: false |
34 | | - Element: false |
| 23 | + valid-jsdoc: [2, { requireReturn: false }] |
0 commit comments