aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.eslintrc
blob: fa19918907d7a43172fc3f75b6e1dc11260bf0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "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"
  }
}