Files
theia-code-os/configs/xss.eslintrc.json
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00

30 lines
582 B
JSON

{
"extends": ["plugin:no-unsanitized/DOM"],
"plugins": ["no-unsanitized", "react"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-unsanitized/method": [
"warn", {
"escape": {
"methods": ["DOMPurify.sanitize"]
}
}
],
"no-unsanitized/property": [
"warn", {
"escape": {
"methods": ["DOMPurify.sanitize"]
}
}
],
"no-eval": "warn",
"no-implied-eval": "warn",
"react/no-danger-with-children": "warn",
"react/no-danger": "warn"
}
}