blob: f9fce6b089405ec4a2bf4b2d0b898feb58e30e12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
"extends": "sonarqube",
"rules": {
"camelcase": "off",
"promise/no-return-wrap": "warn",
"react/forbid-component-props": [
"error",
{
"forbid": [
{
"propName": "dangerouslySetInnerHTML",
"message": "Use the SafeHTMLInjection component instead of 'dangerouslySetInnerHTML', to prevent CSS injection along other XSS attacks"
}
]
}
],
"react/forbid-dom-props": [
"error",
{
"forbid": [
{
"propName": "dangerouslySetInnerHTML",
"message": "Use the SafeHTMLInjection component instead of 'dangerouslySetInnerHTML', to prevent CSS injection along other XSS attacks"
}
]
}
],
"react/jsx-curly-brace-presence": "warn",
"testing-library/render-result-naming-convention": "off"
}
}
|