From 3ac7a27bb15c0ca1146bc86482ad69ece80dd29d Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Fri, 22 May 2020 08:35:40 -0700 Subject: [PATCH] Docs: Update new rules policies --- docs/developer-guide/contributing/new-rules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-guide/contributing/new-rules.md b/docs/developer-guide/contributing/new-rules.md index a3513773d24a..e4a19e486f56 100644 --- a/docs/developer-guide/contributing/new-rules.md +++ b/docs/developer-guide/contributing/new-rules.md @@ -2,7 +2,7 @@ ESLint is all about rules. For most of the project's lifetime, we've had over 200 rules, and that list continues to grow. However, we can't just accept any proposed rule because all rules need to work cohesively together. As such, we have some guidelines around which rules can be part of the ESLint core and which are better off as custom rules and plugins. -**Note:** As of 2016, we accept only rules that are deemed extremely important for inclusion. We prefer that new rules be implemented in plugins. +**Note:** As of 2020, we only accept rules related to new ECMAScript features. We prefer that new rules be implemented in plugins. ## Core Rule Guidelines @@ -29,7 +29,7 @@ In order for a rule to be accepted in the ESLint core, it must: 1. Fulfill all the criteria listed in the "Core Rule Guidelines" section 1. Have an ESLint team member champion inclusion of the rule -1. Be very important for ESLint users because it either catches a serious problem or allows styling of code in accordance with a popular style guide +1. Be related to an ECMAScript feature that has reached stage 4 in the preceding 12 months Keep in mind that we have over 200 rules, and that is daunting both for end users and the ESLint team (who has to maintain them). As such, any new rules must be deemed of high importance to be considered for inclusion in ESLint.