deploy: current vibn theia state
Made-with: Cursor
This commit is contained in:
29
configs/xss.eslintrc.json
Normal file
29
configs/xss.eslintrc.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user