From cc2b8ad64bc077eac72fab3c8e665905194d7e13 Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Mon, 1 Mar 2021 17:51:53 +0300 Subject: [PATCH] Added linting rule to specify import ordering (#2889) --- cvat-ui/.eslintrc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cvat-ui/.eslintrc.js b/cvat-ui/.eslintrc.js index 28d9241e9e38..18dd267ca354 100644 --- a/cvat-ui/.eslintrc.js +++ b/cvat-ui/.eslintrc.js @@ -55,6 +55,12 @@ module.exports = { }, }, ], + 'import/order': [ + 'error', + { + 'groups': ['builtin', 'external', 'internal'], + } + ] }, settings: { 'import/resolver': {