idle-tracker
Version:
Tiny pure Javascript library to track browser inactivity
31 lines (30 loc) • 674 B
JavaScript
module.exports = {
extends: ['airbnb/base', 'airbnb-typescript/base'],
rules: {
'arrow-parens': 0,
'comma-dangle': 0,
'func-names': 0,
'no-func-assign': 0,
'no-param-reassign': 0,
'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,
},
plugins: ['@typescript-eslint'],
parserOptions: {
ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true,
},
project: './tsconfig.json',
},
};