From 0c0d6c019fdaf6651aac8a96e55da23ab179b46e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:45:06 +0400 Subject: feat(eslint): Rule "no-proto" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3