diff --git a/.eslintrc.js b/.eslintrc.js index 36e895e51..aad915afd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -203,6 +203,9 @@ module.exports = { './src/**/*.ts', './src/**/*.tsx' ], + parserOptions: { + project: ['./tsconfig.json'] + }, env: { node: false, amd: true, @@ -240,6 +243,9 @@ module.exports = { 'TaskButton': 'writable', 'UserParentalControlPage': 'writable', 'Windows': 'readonly' + }, + rules: { + '@typescript-eslint/no-floating-promises': ['error'] } }, // TypeScript source files