Revision 4aaf141ddb0617aedc16f3652b0feee0069bc5be authored by Leon Sorokin on 13 May 2021, 07:33:11 UTC, committed by GitHub on 13 May 2021, 07:33:11 UTC
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
1 parent 6014551
Raw File
.eslintrc
{
  "extends": ["@grafana/eslint-config"],
  "root": true,
  "plugins": ["no-only-tests", "@emotion", "lodash"],
  "rules": {
    "no-only-tests/no-only-tests": "error",
    "react/prop-types": "off",
    "@emotion/jsx-import": "error",
    "lodash/import-scope": [2, "member"]
  },
  "overrides": [
    {
      "files": ["packages/grafana-ui/src/components/uPlot/**/*.{ts,tsx}"],
      "rules": {
        "react-hooks/rules-of-hooks": "off",
        "react-hooks/exhaustive-deps": "off"
      }
    },
    {
      "files": ["packages/grafana-ui/src/components/ThemeDemos/**/*.{ts,tsx}"],
      "rules": {
        "@emotion/jsx-import": "off",
        "react/jsx-uses-react": "off",
        "react/react-in-jsx-scope": "off"
      }
    }
  ]
}
back to top