summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:45:06 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:45:06 +0300
commit0c0d6c019fdaf6651aac8a96e55da23ab179b46e (patch)
treec746fdfe9b5ebd2151d968eda02eeb5794ee6702
parent2d8a11cb2f4f2caee86cc87def3181cede724de2 (diff)
downloadeslint-config-0c0d6c019fdaf6651aac8a96e55da23ab179b46e.tar.xz
eslint-config-0c0d6c019fdaf6651aac8a96e55da23ab179b46e.zip
feat(eslint): Rule "no-proto"
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 d28164e..2dd581b 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -165,7 +165,7 @@
- [ ] "no-plusplus"
- [ ] "no-process-env"
- [ ] "no-process-exit"
-- [ ] "no-proto"
+- [X] "no-proto"
- [ ] "no-prototype-builtins"
- [ ] "no-redeclare"
- [ ] "no-regex-spaces"
diff --git a/src/rules/default.json b/src/rules/default.json
index d04adf1..404efdc 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -305,6 +305,9 @@
"no-octal-escape": [
"error"
],
+ "no-proto": [
+ "error"
+ ],
"no-spaced-func": [
"off"
],