Skip to content

Commit b11ce6e

Browse files
committed
Allow unused session while we migrate
1 parent 995ab87 commit b11ce6e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.eslintrc.cjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,17 @@ const config = {
198198
],
199199
// TODO Enable this and fix errors (both types & logic changes will be needed)
200200
'@typescript-eslint/no-unnecessary-condition': 'off',
201+
202+
// Allow unused session while we migrate
203+
'@seedcompany/no-unused-vars': [
204+
'warn',
205+
{
206+
args: 'after-used',
207+
ignoreRestSiblings: true,
208+
argsIgnorePattern: '(^_|^session$)',
209+
varsIgnorePattern: '^_',
210+
},
211+
],
201212
},
202213
overrides: [
203214
{

0 commit comments

Comments
 (0)