| 1 | { |
| 2 | "parser": "babel-eslint", |
| 3 | "extends": [ |
| 4 | "eslint:recommended", |
| 5 | "plugin:flowtype/recommended", |
| 6 | "node", |
| 7 | "google" |
| 8 | ], |
| 9 | "plugins": [ |
| 10 | "flowtype" |
| 11 | ], |
| 12 | "rules": { |
| 13 | "require-jsdoc": 0, |
| 14 | "import/no-commonjs": [ |
| 15 | 2, |
| 16 | { |
| 17 | "allowRequire": true, |
| 18 | "allowPrimitiveModules": true |
| 19 | } |
| 20 | ], |
| 21 | "import/no-nodejs-modules": 0, |
| 22 | "flowtype/no-types-missing-file-annotation": 0, |
| 23 | "max-len": [ |
| 24 | "warn", |
| 25 | { |
| 26 | "code": 180, |
| 27 | "ignoreComments": true, |
| 28 | "ignoreUrls": true, |
| 29 | "ignoreStrings": true, |
| 30 | "ignoreTemplateLiterals": true, |
| 31 | "ignoreRegExpLiterals": true, |
| 32 | "ignorePattern": "(^(import|export)|(public|private))\\s.+;" |
| 33 | } |
| 34 | ] |
| 35 | } |
| 36 | } |