Skip to content

Commit 37f1ff3

Browse files
committed
ESLint: Add an ignore pattern for unused variables
1 parent a923572 commit 37f1ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ module.exports = {
1111
sourceType: 'module',
1212
},
1313
rules: {
14+
'no-unused-vars': ['error', { varsIgnorePattern: '^_' }]
1415
},
1516
};

0 commit comments

Comments
 (0)