|
1 | 1 | extends:
|
2 |
| - - 'plugin:@shopify/esnext' |
| 2 | + - 'eslint:recommended' |
3 | 3 | - 'plugin:prettier/recommended'
|
| 4 | + - 'plugin:promise/recommended' |
| 5 | + - 'plugin:import/recommended' |
| 6 | + |
| 7 | + - './rules/bugs.yaml' |
| 8 | + - './rules/deprecated.yaml' |
| 9 | + - './rules/footguns.yaml' |
| 10 | + - './rules/imports.yaml' |
| 11 | + - './rules/miscellaneous.yaml' |
| 12 | + - './rules/modern-code.yaml' |
| 13 | + - './rules/promises.yaml' |
| 14 | + - './rules/readability.yaml' |
| 15 | + - './rules/security.yaml' |
| 16 | + |
4 | 17 | parserOptions:
|
5 | 18 | ecmaVersion: 2022 # Version is inline with Node 16
|
6 | 19 | sourceType: 'module'
|
7 |
| - |
8 |
| -rules: |
9 |
| - '@babel/new-cap': 'off' |
10 |
| - id-length: 'off' |
11 |
| - import/order: |
12 |
| - - 'warn' |
13 |
| - - groups: |
14 |
| - - 'builtin' |
15 |
| - - 'external' |
16 |
| - - 'internal' |
17 |
| - newlines-between: 'ignore' |
18 |
| - import/no-default-export: 'error' |
19 |
| - line-comment-position: 'off' |
20 |
| - no-empty-function: 'warn' |
21 |
| - no-negated-condition: 'off' |
22 |
| - no-nested-ternary: 'off' |
23 |
| - no-warning-comments: 'off' |
24 |
| - prettier/prettier: 'warn' |
25 |
| - require-atomic-updates: ['warn', { allowProperties: true }] |
26 |
| - sort-class-members/sort-class-members: 'off' |
27 |
| - import/extensions: 'off' |
28 |
| - no-useless-constructor: 'off' |
29 |
| - consistent-return: 'off' |
30 |
| - require-await: 'off' |
31 |
| - no-shadow: 'off' |
32 |
| - promise/no-nesting: 'off' |
33 |
| - import/no-cycle: 'off' |
34 |
| - lines-between-class-members: 'off' |
35 |
| - no-useless-return: 'off' |
36 |
| - no-use-before-define: 'off' |
37 |
| - eslint-comments/no-use: 'warn' |
38 |
| - '@shopify/binary-assignment-parens': 'off' |
39 |
| - no-console: 'error' |
40 |
| - # TODO: ban barrels |
0 commit comments