Skip to content

Commit

Permalink
Update eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao committed Apr 21, 2022
1 parent 051d4d4 commit a29bb5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .eslintrc.js
Expand Up @@ -9,6 +9,12 @@ module.exports = {
'no-plusplus': 0,
'no-underscore-dangle': 0,
'no-use-before-define': 0,
'@typescript-eslint/no-unused-vars': ['error', {
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
argsIgnorePattern: '^_'
}],
},
env: {
browser: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "idle-tracker",
"version": "0.1.1",
"version": "0.1.2",
"description": "Tiny pure Javascript library to track browser inactivity",
"author": "Roderick Hsiao <roderickhsiao@gmail.com>",
"repository": {
Expand Down

0 comments on commit a29bb5c

Please sign in to comment.