You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/04/04 05:47:42 UTC
[incubator-annotator] branch master updated: Enable the
@typescript-eslint/no-duplicate-imports rule
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
The following commit(s) were added to refs/heads/master by this push:
new 2760a8a Enable the @typescript-eslint/no-duplicate-imports rule
2760a8a is described below
commit 2760a8a8602b4b541695e9b7dd21816eee309702
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Apr 3 22:47:12 2021 -0700
Enable the @typescript-eslint/no-duplicate-imports rule
---
.eslintrc.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/.eslintrc.js b/.eslintrc.js
index d40dd77..8ca52fd 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -115,6 +115,7 @@ module.exports = {
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
+ '@typescript-eslint/no-duplicate-imports': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'error',