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 18a1df07401249317d0a142808f3974db28d0585 Author: Randall Leeds <[email protected]> AuthorDate: Sat Sep 19 20:26:52 2020 -0700 Forbid importing absolute paths Importing absolute paths is not portable. It is almost never correct. --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 83621b4..787e984 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -43,6 +43,7 @@ module.exports = { ], 'import/first': 'error', 'import/newline-after-import': 'error', + 'import/no-absolute-path': 'error', 'import/no-default-export': 'error', 'import/no-internal-modules': 'error', 'import/order': ['error', { 'newlines-between': 'always' }],
