diff --git a/.eslintrc.json b/.eslintrc.json index e0b14e79..67c2a25a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,15 +15,16 @@ }, "plugins": ["@typescript-eslint"], "rules": { + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/prefer-for-of": "warn", "arrow-body-style": ["warn", "as-needed"], + "func-style": ["warn", "declaration"], "no-empty": "off", + "@typescript-eslint/no-this-alias": ["error", {"allowedNames": ["that"]}], "no-undef": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/prefer-for-of": "warn", "no-var": "warn", - "func-style": ["warn", "declaration"], + "prefer-arrow-callback": "warn", "prefer-const": "warn", - "prefer-template": "warn", - "prefer-arrow-callback": "warn" + "prefer-template": "warn" } }