{ "parser": "babel-eslint", "ecmaFeatures": { "jsx": true, "modules": true }, "env": { "mocha": true, "browser": true, "node": true }, "globals": { "__DEV__": true, "Promise": true, }, "plugins": [ "babel", "react", "react-native" ], "rules": { "quotes": [ 2, "single" ], "semi": [ 2, "never" ], "no-cond-assign": 0, "camelcase": [ 2, { "properties": "never" } ], "curly": [ 2, "all" ], "no-eq-null": 2, "eqeqeq": 2, "no-eval": 0, "no-extend-native": 2, "block-scoped-var": 2, "indent": [ 2, 2, { "SwitchCase": 1 } ], "wrap-iife": [ 2, "any" ], "max-depth": [ 2, 3 ], "max-statements": [ 2, 30 ], "no-shadow": 2, "no-multi-spaces": ["error", { "exceptions": { "Property": true } }], "no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }], "no-unused-vars": 2, "no-undef": 2, "no-underscore-dangle": ["error", { "allow": [ "__DEV__" ] }], "dot-notation": 0, "no-with": 2, "brace-style": 2, "no-mixed-spaces-and-tabs": 2, "one-var": [ 2, { "uninitialized": "always", "initialized": "never" } ], "quote-props": [ 2, "as-needed" ], "key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ], "space-unary-ops": [ 2, { "nonwords": false, "overrides": {} } ], "space-before-function-paren": [ 2, "never" ], "space-in-parens": [ 2, "never" ], "no-trailing-spaces": 2, "new-cap": 2, "keyword-spacing": [ 2, {} ], "spaced-comment": [ 2, "always" ], "space-infix-ops": 2, "space-before-blocks": [ 2, "always" ], "comma-dangle": 0, "linebreak-style": [ 2, "unix" ], "no-mixed-requires": [0], "eol-last": [0], "generator-star-spacing": 1, "object-shorthand": 1, "arrow-parens": [2, "as-needed"], "babel/new-cap": 1, "babel/no-await-in-loop": 1, "react/jsx-uses-react": 2, "react/jsx-uses-vars": 2, "react/react-in-jsx-scope": 2, "react/prop-types": 2, "react-native/no-unused-styles": 2, "react-native/split-platform-components": 2, "react-native/no-inline-styles": 2, "react-native/no-color-literals": 2, } }