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 2019/05/23 18:26:07 UTC
[incubator-annotator] 05/05: Lint for imports first
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
commit dc34afb5c4e1e9ff032c91442f77ad0fef11ed34
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu May 23 14:25:51 2019 -0400
Lint for imports first
---
.eslintrc.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/.eslintrc.js b/.eslintrc.js
index bc7bd7d..1fe2690 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -15,6 +15,7 @@ module.exports = {
plugins: ['import', 'prettier'],
rules: {
'import/extensions': ['error', 'always', { ignorePackages: true }],
+ 'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-default-export': 'error',
'import/no-internal-modules': 'error',