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:33:57 UTC
[incubator-annotator] 01/02: Lint for parent relative imports
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 fbce11f9215dd4db873bf00718ad734c21f2d256
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu May 23 14:29:39 2019 -0400
Lint for parent relative imports
---
.eslintrc.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.eslintrc.js b/.eslintrc.js
index 1fe2690..5e38452 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -19,6 +19,7 @@ module.exports = {
'import/newline-after-import': 'error',
'import/no-default-export': 'error',
'import/no-internal-modules': 'error',
+ 'import/no-relative-parent-imports': 'error',
'import/order': ['error', { 'newlines-between': 'always' }],
'import/unambiguous': 'error',
'no-restricted-syntax': [
@@ -86,6 +87,7 @@ module.exports = {
allow: ['ajv/lib/refs/json-schema-draft-04.json', 'src/**'],
},
],
+ 'import/no-relative-parent-imports': 'off',
},
},
],