aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.eslintrc
blob: dbf974557766a0d3bd87b57f0665fc255c9d10f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "extends": "sonarqube",
  "plugins": ["eslint-plugin-local-rules"],
  "ignorePatterns": ["eslint-local-rules/**/*"],
  "rules": {
    "camelcase": "off",
    "promise/no-return-wrap": "warn",
    "react/jsx-curly-brace-presence": "warn",
    "testing-library/render-result-naming-convention": "off",
    /* Local rules, defined in ./eslint-local-rules/ */
    "local-rules/use-componentqualifier-enum": "warn",
    "local-rules/use-metrickey-enum": "warn",
    "local-rules/use-metrictype-enum": "warn",
    "local-rules/use-visibility-enum": "warn",
    "local-rules/convert-class-to-function-component": "warn",
    "local-rules/no-conditional-rendering-of-deferredspinner": "warn",
    "local-rules/use-jest-mocked": "warn",
    "local-rules/use-await-expect-async-matcher": "warn",
    "local-rules/no-implicit-coersion": "warn",
    "local-rules/no-api-imports": "warn"
  }
}