Skip to content

Commit ade4f2b

Browse files
committed
chore: ignore underscore-prefixed unused vars in eslint
1 parent 740cf35 commit ade4f2b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.eslintrc.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ module.exports = {
1313
"@typescript-eslint/no-non-null-assertion": "off",
1414
"@typescript-eslint/ban-ts-comment": "off",
1515
"@typescript-eslint/explicit-module-boundary-types": "off",
16-
"@typescript-eslint/no-empty-function": "off"
16+
"@typescript-eslint/no-empty-function": "off",
17+
"@typescript-eslint/no-unused-vars": ["warn", {
18+
"argsIgnorePattern": "^_",
19+
"varsIgnorePattern": "^_"
20+
}]
1721
}
1822
};

0 commit comments

Comments
 (0)