Revision 674a0ef4a18f3fe24d6657e5eb0b3e183705afcc authored by Arve Knudsen on 18 May 2021, 11:41:55 UTC, committed by grafanabot on 18 May 2021, 18:37:22 UTC
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit d1a90441717fea236feacd0681c16027fc879093)
1 parent c9ba9d4
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