chore: add noUnusedLocals and noUnusedParameters rules (#3476)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
1 parent
5a8c1dcb57
commit
1d43e46f99
14 files changed
+17
-16
No files matched your search
@@ -56,7 +56,7 @@ export const contentLayoutAtom = atom<
|
||||
void
|
||||
>(
|
||||
get => get(contentLayoutBaseAtom),
|
||||
(get, set, layout) => {
|
||||
(_, set, layout) => {
|
||||
set(contentLayoutBaseAtom, prev => {
|
||||
let setV: (prev: ExpectedLayout) => ExpectedLayout;
|
||||
if (typeof layout !== 'function') {
|
||||
|
||||
Reference in new issue
Block a user