chore: fixing eslint config so we can use some great optional?.chaining?.stuff

This commit is contained in:
blam
2020-05-04 20:54:59 +02:00
parent 1af6cbea8d
commit e3ab861038
4 changed files with 7 additions and 2 deletions
+2
View File
@@ -46,6 +46,8 @@ module.exports = {
bundledDependencies: true,
},
],
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': 'error',
'@typescript-eslint/no-unused-vars': [
'warn',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
+2
View File
@@ -51,6 +51,8 @@ module.exports = {
bundledDependencies: true,
},
],
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': 'error',
'@typescript-eslint/no-unused-vars': [
'warn',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },