mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Add useRef() React Hook to lint rules
This commit is contained in:
@@ -135,6 +135,12 @@
|
||||
"node_modules/react-error-overlay"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "React-useRef",
|
||||
"expression": "\\buseRef\\(",
|
||||
"reason": "Potential XSS",
|
||||
"excludedModules": ["node_modules/react/", "node_modules/react-dom"]
|
||||
},
|
||||
{
|
||||
"name": "React-findDOMNode",
|
||||
"expression": "\\bfindDOMNode\\(",
|
||||
|
||||
Reference in New Issue
Block a user