From 3f4d2c8b7d180dfeddc172c860dfb6bab072c26f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 18:52:20 +0400 Subject: feat(import): Rule "no-webpack-loader-syntax" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/import.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 997b57d..97e1495 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -319,7 +319,7 @@ - [ ] "no-unresolved" - [ ] "no-unused-modules" - [ ] "no-useless-path-segments" -- [ ] "no-webpack-loader-syntax" +- [X] "no-webpack-loader-syntax" - [ ] "order" - [ ] "prefer-default-export" - [ ] "unambiguous" diff --git a/src/rules/import.json b/src/rules/import.json index c7b7dba..6ff497d 100644 --- a/src/rules/import.json +++ b/src/rules/import.json @@ -4,5 +4,8 @@ ], "import/first": [ "error" + ], + "import/no-webpack-loader-syntax": [ + "error" ] } -- cgit v1.2.3