diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-10-08 08:55:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 08:55:23 +0300 |
commit | 61f6b2da14fdb2c93c2106a2a6f008f4716f26ee (patch) | |
tree | bf4b58bcbdd050089cf9628c7e373434aed0c14f /.eslintrc.js | |
parent | 52caa6e3bcfe4b9d66cf42825f5523510664c53e (diff) |
[Vue] Migrate ajaxHelper.ts + piwik-url service (#18104)
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 738f45a6d3..0988d65296 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,5 +17,13 @@ module.exports = { 'import/prefer-default-export': 'off', 'no-useless-constructor': 'off', '@typescript-eslint/no-useless-constructor': ['error'], + 'class-methods-use-this': 'off', + "@typescript-eslint/no-this-alias": [ + "error", + { + "allowDestructuring": true, + "allowedNames": ["self"], + } + ], }, }; |