{ "extends": [ "plugin:flowtype/recommended", "plugin:react/recommended", "plugin:import/errors", "plugin:import/warnings", "prettier", "prettier/flowtype", "prettier/react" ], "parser": "babel-eslint", "plugins": [ "react", "flowtype", "prettier" ], "env": { "jasmine": true }, "globals": { "ReactClass": true }, "rules": { "prettier/prettier": ["error", { "trailingComma": "es5", "singleQuote": true }], "no-underscore-dangle": "off", "no-use-before-define": "off", "no-unused-expressions": "off", "new-cap": "off", "no-plusplus": "off", "no-class-assign": "off", "no-duplicate-imports": "off", "import/extensions": "off", "import/no-extraneous-dependencies": "off", "import/no-unresolved": "off", "react/jsx-filename-extension": [ "off", { "extensions": [".js", ".jsx"] } ], "react/sort-comp": "off", "react/prefer-stateless-function": "off", "react/forbid-prop-types": "warn", "react/prop-types": "off", "react/require-default-props": "off", "react/no-unused-prop-types": "off", "flowtype/boolean-style": [ "error", "boolean" ], "flowtype/no-weak-types": "off", "flowtype/require-parameter-type": "error", "flowtype/require-return-type": [ "off", "always", { "annotateUndefined": "never" } ], "flowtype/require-valid-file-annotation": "error", "flowtype/use-flow-type": "warn", "flowtype/valid-syntax": "warn" }, "settings": { "flowtype": { "onlyFilesWithFlowAnnotation": true } }, "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "modules": true } } }