Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalas committed Nov 17, 2023
1 parent 9fbaa16 commit 76b2325
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/fixie-sdk/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ module.exports = {

rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true, argsIgnorePattern: '^_' }],
'@typescript-eslint/no-unused-vars': [
'warn',
{ ignoreRestSiblings: true, argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],

'no-undef': 'off',
'no-magic-numbers': 'off',
Expand Down
2 changes: 1 addition & 1 deletion packages/fixie-sdk/src/request-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const RequestContext = AI.createContext<{
async function* MessageState({ children }: { children: AI.Node }, { render }: AI.ComponentContext) {
const renderResult = render(children);
let didYield = false;
for await (const frame of renderResult) {
for await (const _ of renderResult) {
if (!didYield) {
didYield = true;
yield 'in-progress';
Expand Down

0 comments on commit 76b2325

Please sign in to comment.