1module.exports = {
 2  extends: [
 3    'react-app',
 4    'prettier/@typescript-eslint',
 5    'plugin:prettier/recommended',
 6  ],
 7  plugins: ['graphql'],
 8  rules: {
 9    'graphql/template-strings': [
10      'error',
11      {
12        schemaJson: require('./src/schema.json'),
13        env: 'literal',
14      },
15    ],
16    'import/order': [
17      'error',
18      {
19        alphabetize: { order: 'asc' },
20        pathGroups: [
21          {
22            pattern: '@material-ui/**',
23            group: 'external',
24            position: 'after',
25          },
26          {
27            pattern: '*.generated',
28            group: 'sibling',
29            position: 'after',
30          },
31        ],
32        groups: [['builtin', 'external'], 'parent', ['sibling', 'index']],
33        'newlines-between': 'always',
34      },
35    ],
36  },
37};