Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-10-08 08:55:23 +0300
committerGitHub <noreply@github.com>2021-10-08 08:55:23 +0300
commit61f6b2da14fdb2c93c2106a2a6f008f4716f26ee (patch)
treebf4b58bcbdd050089cf9628c7e373434aed0c14f /.eslintrc.js
parent52caa6e3bcfe4b9d66cf42825f5523510664c53e (diff)
[Vue] Migrate ajaxHelper.ts + piwik-url service (#18104)
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js8
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"],
+ }
+ ],
},
};