Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.1 kB
1
Indexable
Never
{
  "root": true,
  "env": {
    "es6": true,
    "browser": true
  },
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended",
    "plugin:prettier/recommended",
    "plugin:react-hooks/recommended"
  ],
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true
    },
    "ecmaVersion": 12,
    "sourceType": "module"
  },
  "settings": {
    "react": {
      "version": "detect"
    },
    "import/resolver": {
      "node": {
        "paths": [
          "."
        ],
        "extensions": [
          ".js",
          ".jsx"
        ]
      }
    }
  },
  "ignorePatterns": [
    "src/__mocks__/*"
  ],
  "rules": {
    "comma-dangle": "off",
    "react/react-in-jsx-scope": "off",
    "react/require-default-props": "off",
    "react/jsx-boolean-value": "off",
    "react/prop-types": [
      "warn",
      {
        "ignore": [
          "theme"
        ]
      }
    ],
    "no-unused-vars": "warn",
    "react/no-unescaped-entities": "warn",
    "prettier/prettier": [
      "warn"
    ],
    "react-hooks/exhaustive-deps": "off"
  }
}