chore: add noUnusedLocals and noUnusedParameters rules (#3476)

Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
Alex Yang
2023-07-30 22:47:37 -07:00
committed by GitHub
parent 5a8c1dcb57
commit 1d43e46f99
14 changed files with 17 additions and 16 deletions

View File

@@ -132,7 +132,7 @@ const getFollowingUpAtoms = (
const baseAtom = atomWithDefault<Promise<string[]> | string[]>(async () => {
return chatHistory?.getFollowingUp() ?? [];
});
const setAtom = atom<null, [], void>(null, async (get, set) => {
const setAtom = atom<null, [], void>(null, async (_, set) => {
if (!followupLLMChain || !chatHistory) {
throw new Error('followupLLMChain not set');
}