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:
parent
1ae2a99eaf
commit
81cf4f158c
@ -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"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user