Created
March 15, 2018 15:07
-
-
Save romanlex/89ec0a4d5b40fda46f2391ce6c49667f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "eslintConfig": { | |
| "env": { | |
| "browser": true, | |
| "jquery": true, | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": [ | |
| "plugin:react/recommended", | |
| "plugin:jsx-a11y/recommended", | |
| "plugin:security/recommended", | |
| "plugin:prettier/recommended", | |
| "plugin:flowtype/recommended" | |
| ], | |
| "parser": "babel-eslint", | |
| "parserOptions": { | |
| "ecmaVersion": 7 | |
| }, | |
| "plugins": [ | |
| "react", | |
| "jsx-a11y", | |
| "import", | |
| "flowtype" | |
| ], | |
| "rules": { | |
| "react/display-name": 0, | |
| "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | |
| "no-unused-vars": ["error", { "vars": "all", "args": "none", "varsIgnorePattern": ".+Type$", "ignoreRestSiblings": true }], | |
| "prettier/prettier": "error", | |
| "flowtype/require-valid-file-annotation": 2, | |
| "import/order": [ | |
| "warn", | |
| { | |
| "groups": [ | |
| [ | |
| "builtin", | |
| "external" | |
| ], | |
| [ | |
| "internal", | |
| "parent" | |
| ], | |
| [ | |
| "sibling", | |
| "index" | |
| ] | |
| ] | |
| } | |
| ], | |
| "security/detect-object-injection": 0, | |
| "security/detect-unsafe-regex": 0, | |
| "security/detect-non-literal-regexp": 0, | |
| "security/detect-non-literal-fs-filename": 0 | |
| } | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment