summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 17:52:20 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 17:52:20 +0300
commit3f4d2c8b7d180dfeddc172c860dfb6bab072c26f (patch)
tree65af1fafe033b4fdefe1540a09efb46ecb6038aa
parentf6c6e7ff0af0ca439c578b0bbf3c7973f87814d4 (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/import.json3
2 files changed, 4 insertions, 1 deletions
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"
]
}