aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:47:28 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:47:28 +0300
commitb8aef365abdd63501d65cc025115a3af71fbe303 (patch)
treeda9b95dc6e634b3a3bf9376930d8eae8b32fbc00
parent14a81b9fea501773962efbdf53ebffaa3f3b03b1 (diff)
downloadeslint-config-b8aef365abdd63501d65cc025115a3af71fbe303.tar.xz
eslint-config-b8aef365abdd63501d65cc025115a3af71fbe303.zip
feat(eslint): Rule "no-script-url"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 41b2260..40120f6 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -177,7 +177,7 @@
- [ ] "no-restricted-syntax"
- [ ] "no-return-assign"
- [X] "no-return-await"
-- [ ] "no-script-url"
+- [X] "no-script-url"
- [ ] "no-self-assign"
- [ ] "no-self-compare"
- [ ] "no-sequences"
diff --git a/src/rules/default.json b/src/rules/default.json
index ac079da..9913249 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -311,6 +311,9 @@
"no-return-await": [
"error"
],
+ "no-script-url": [
+ "error"
+ ],
"no-spaced-func": [
"off"
],