1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Add ban-types for ReactNode

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-05-09 16:33:36 -04:00
parent 1ae2a99eaf
commit 81cf4f158c

View File

@ -79,6 +79,12 @@ module.exports = {
"objectsInObjects": false,
"arraysInObjects": true,
}],
"@typescript-eslint/ban-types": ["error", {
"extendDefaults": true,
"types": {
"ReactNode": "Use SafeReactNode instead",
},
}],
"linebreak-style": ["error", "unix"],
"eol-last": ["error", "always"],
"semi": ["error", "always"],