| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- "extends": ["airbnb", "prettier"],
- "plugins": ["prettier"],
- "parser": "babel-eslint",
- "env": {
- "browser": true,
- "es6": true
- },
- "globals": {
- "__DEV__": "readonly"
- },
- "rules": {
- "prettier/prettier": "error",
- "no-use-before-define": [
- "error",
- { "functions": true, "classes": true, "variables": false }
- ],
- "react/jsx-indent": [2, 2, { "checkAttributes": false }],
- "no-else-return": 0,
- "import/no-unresolved": 0,
- "no-unused-vars": [
- 0,
- { "vars": "local", "varsIgnorePattern": "WebBrowser" }
- ],
- "no-nested-ternary": 0,
- "react/no-array-index-key": 0,
- "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
- "no-unused-expressions": [
- "error",
- { "allowShortCircuit": true, "allowTernary": true }
- ],
- "no-param-reassign": 0,
- "react/prop-types": [0, { "ignore": ["navigation"] }],
- "react/jsx-props-no-spreading": [
- 1,
- {
- "html": "ignore",
- "exceptions": ["Icon", "props", "Avatar", "Text"]
- }
- ],
- "react/jsx-curly-newline": "off",
- "react/jsx-one-expression-per-line": [0]
- }
- }
|