diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:52:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:52:20 +0300 |
commit | 3f4d2c8b7d180dfeddc172c860dfb6bab072c26f (patch) | |
tree | 65af1fafe033b4fdefe1540a09efb46ecb6038aa | |
parent | f6c6e7ff0af0ca439c578b0bbf3c7973f87814d4 (diff) | |
download | eslint-config-3f4d2c8b7d180dfeddc172c860dfb6bab072c26f.tar.xz eslint-config-3f4d2c8b7d180dfeddc172c860dfb6bab072c26f.zip |
feat(import): Rule "no-webpack-loader-syntax"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/import.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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" ] } |