1 | ;
|
2 |
|
3 | module.exports = {
|
4 | extends: ["prettier", "prettier/flowtype", "prettier/react"],
|
5 | plugins: ["prettier"],
|
6 | rules: {
|
7 | "prettier/prettier": [
|
8 | "error",
|
9 | {
|
10 | useTabs: true,
|
11 | printWidth: 80,
|
12 | tabWidth: 2,
|
13 | singleQuote: false,
|
14 | trailingComma: "es5",
|
15 | bracketSpacing: true,
|
16 | jsxBracketSameLine: false,
|
17 | parser: "flow",
|
18 | semi: true,
|
19 | },
|
20 | ],
|
21 | },
|
22 | };
|