1 | module.exports = {
|
2 | extends: [
|
3 | "airbnb",
|
4 | "@tokenfoundry/eslint-config/base",
|
5 | "plugin:react/recommended",
|
6 | "prettier/react",
|
7 | ],
|
8 | parser: "babel-eslint",
|
9 | parserOptions: {
|
10 | ecmaVersion: 2018,
|
11 | sourceType: "module",
|
12 | ecmaFeatures: {
|
13 | experimentalObjectRestSpread: true,
|
14 | jsx: true,
|
15 | },
|
16 | },
|
17 | plugins: ["react"],
|
18 | rules: {
|
19 | "prettier/prettier": [
|
20 | "error",
|
21 | {
|
22 | printWidth: 80,
|
23 | trailingComma: "all",
|
24 | },
|
25 | ],
|
26 | },
|
27 | };
|