{ "parser": "babel-eslint", "extends": [ "eslint:recommended", "plugin:react/recommended", "standard", "eslint:recommended", "standard-react", "plugin:flowtype/recommended" ], "settings": { "react": { // default to "createReactClass" "version": "16.4" // React version, default to the latest React stable release }, "propWrapperFunctions": [ "forbidExtraProps" ] // The names of any functions used to wrap the // propTypes object, e.g. `forbidExtraProps`. // If this isn't set, any propTypes wrapped in // a function will be skipped. }, "plugins": [ "filenames", "import", "promise", "babel", "jsx", "immutable", "flowtype", "new-with-error", "no-use-extend-native", "node", "promise", "react", "standard", "no-inferred-method-name", "no-use-extend-native" ], "env": { "browser": true }, "globals": { "Action": false, "__DEV__": false, "__PROD__": false, "__DEBUG__": false, "__DEBUG_NEW_WINDOW__": false, "__BASENAME__": false, "__PORTALTYPE__": "real", "__BUILDVERSION__": "buildstring", "__BUILDTIME__": "buildtime", "__NPMVERSION__": "1.0.13", "__DEFAULT_THEME__": "defaultTheme", "__SHOW_CONSOLE__": true, "__APP__": "admin", "ROUTER3_DYNAMICINCLUDE": true }, "rules": { "arrow-body-style": [ 0, "as-needed" ], "padded-blocks": [ 2, { "blocks": "never", "classes": "always", "switches": "never" } ], "import/newline-after-import": 2, "no-dupe-keys": 2, "react/jsx-key": 0, "react/no-children-prop": 0, "react/jsx-no-comment-textnodes": 0, "no-console": 0, "immutable/no-let": 2, "immutable/no-this": 0, "react/display-name": 0, "immutable/no-mutation": 0, "promise/always-return": 2, "no-webpack-loader-syntax": 0, "promise/no-return-wrap": 2, "promise/param-names": 2, "promise/catch-or-return": 0, "promise/no-native": 0, "promise/no-nesting": 2, "promise/no-promise-in-callback": 2, "promise/no-callback-in-promise": 2, "promise/avoid-new": 0, "no-empty": 2, "no-use-extend-native/no-use-extend-native": 2, "space-before-function-paren": 0, "semi": [ 2, "never" ], "quotes": [ 2, "single" ], "no-tabs": 0, "no-undef": [ 2 ], "comma-dangle": [ "error", "never" ], "space-infix-ops": 0, "no-unused-vars": [ 2, { "vars": "all", "args": "after-used" } ], "filenames/match-exported": [ 2, "pascal" ], "prefer-const": [ 2, { "destructuring": "any", "ignoreReadBeforeAssign": false } ], "object-curly-spacing": [ 2, "never" ], "react/jsx-indent": 0, "react/jsx-indent-props": [ 0, 5 ], "react/jsx-sort-props": [ 2 ], "jsx-quotes": [ 2, "prefer-double" ], "no-duplicate-imports": 0, "no-unsafe-finally": 0, "no-useless-computed-key": 0, "no-useless-escape": 0, "arrow-spacing": 2, "arrow-parens": 2, "camelcase": 2, "operator-linebreak": 0, "brace-style": 0, "indent": 0, "spaced-comment": 0, "rest-spread-spacing": 0, "vars-on-top": 0, "complexity": 0 } }