diff --git a/.eslintrc.js b/.eslintrc.js index 88db4d2..b83c0e0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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, diff --git a/package.json b/package.json index 6765b91..6d4384a 100644 --- a/package.json +++ b/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 ", "repository": {