refactor(lint): replace self-equals-this code with arrow functions

This commit is contained in:
Max Baumann
2020-12-24 11:59:24 +01:00
parent cba0fc0a87
commit 0e32042634
3 changed files with 11 additions and 17 deletions

View File

@@ -20,10 +20,8 @@ module.exports = {
plugins: ["react", "@typescript-eslint"],
rules: {
// TODO: Remove warn rules when not needed anymore
"@typescript-eslint/no-this-alias": "warn",
"no-self-assign": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-types": "warn",
},
settings: {
react: {