{ "parser": "babel-eslint", "env": { "browser": true, "es6": true }, "extends": [ "plugin:react/recommended", "airbnb" ], "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" }, "parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": 2018, "sourceType": "module" }, "plugins": [ "react", "eslint-plugin-import-helpers" ], "rules": { "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "import-helpers/order-imports": [ "warn", { "newlinesBetween": "always", // new line between groups "groups": [ "/^react/", "module", "/^@/", "/-/", ["parent", "sibling", "index"] ], "alphabetize": { "order": "asc", "ignoreCase": true } } ], "no-use-before-define": [ "error", { "functions": true, "classes": true, "variables": false } ], "import/extensions": "off", "import/no-unresolved": "off", "import/prefer-default-export": "off", "global-require": "off", // "no-unused-expressions": [ // "error", // { // "allowTaggedTemplates": true // } // ], // "no-plusplus": 0, // "max-len": 0, // "lines-between-class-members": 0, // "no-underscore-dangle": 0, // "import/no-cycle": 0, // "no-alert": 0, // "react-native/split-platform-components": 0, // "import/no-extraneous-dependencies": 0, // "import/no-dynamic-require": 0, //"react-native/no-inline-styles": 0, //"semi": 0, "no-param-reassign":"off", "no-unused-vars":["error", { "argsIgnorePattern": "^_" }], "react-native/no-color-literals": "off", "react-native/sort-styles": "off", "react/jsx-one-expression-per-line": "off", "no-restricted-globals":"off", "react-native/no-raw-text": "off", "react/jsx-props-no-spreading": 0, "react/jsx-max-props-per-line": [ 1, { "maximum": 1, "when": "always" } ], "radix": ["error", "as-needed"], "react/jsx-wrap-multilines": 0, "consistent-return": 0, "linebreak-style":"off", "react/prop-types": [0, { "ignore": 0}], "react/destructuring-assignment": 0 }, "settings": { "import/resolver": { "babel-plugin-root-import": { "rootPathPrefix": "-/", "rootPathSuffix": "src" } } } }