.eslintrc.js

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