1 | module.exports = {
|
2 | "parser": "babel-eslint",
|
3 | "plugins": [
|
4 | "flowtype",
|
5 | ],
|
6 | "env": {
|
7 | "browser": true,
|
8 | "es6": true
|
9 | },
|
10 | "extends": [
|
11 | "eslint:recommended",
|
12 | "plugin:import/errors",
|
13 | "plugin:import/warnings",
|
14 | ],
|
15 | "parserOptions": {
|
16 | "sourceType": "module"
|
17 | },
|
18 | "rules": {
|
19 | "indent": [
|
20 | "error",
|
21 | 2
|
22 | ],
|
23 | "linebreak-style": [
|
24 | "error",
|
25 | "unix"
|
26 | ],
|
27 | "quotes": [
|
28 | "error",
|
29 | "single"
|
30 | ],
|
31 | "semi": [
|
32 | "error",
|
33 | "always"
|
34 | ]
|
35 | }
|
36 | };
|