Skip to content

Commit

Permalink
Docs: Add rule deprecation section to user guide (fixes #5845) (#6201)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored and nzakas committed May 21, 2016
1 parent 777941e commit e6d5b1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/user-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ There are a lot of command line flags for ESLint and this section explains what

Wondering if ESLint will work with your favorite editor or build system? This section has a list of all known integrations (submitted by their authors).

## [Rule Deprecation](rule-deprecation)

The ESLint team is committed to making upgrading as easy and painless as possible. This section outlines the guidelines the team has set in place for the deprecation of rules in future releases.

## [Migrating to 1.0.0](migrating-to-1.0.0)

If you were using a version of ESLint prior to v1.0.0, this section helps you with the transition.
14 changes: 14 additions & 0 deletions docs/user-guide/rule-deprecation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Rule Deprecation

Balancing the trade-offs of improving a tool and the frustration these changes can cause is a difficult task. One key area in which this affects our users is in the removal of rules.

The ESLint team is committed to making upgrading as easy and painless as possible. To that end, the team has agreed upon some guidelines for deprecating rules in the future. The goal of these guidelines is to allow for improvements and changes to be made without breaking existing configurations.

Until May 1, 2017, the team has committed to not remove any rules in any releases of ESLint; however, the team will deprecate rules as needed. When a rule is deprecated, it means that:

* The rule will be marked as deprecated in all documentation.
* The team will no longer do any work on the rule. This includes bug fixes, enhancements, and updates to the rule's documentation. Issues and pull requests related to the deprecated rule will not be accepted and will be closed automatically.

After May 1, 2017, the team will revisit all deprecated rules and evaluate whether they should actually be removed or not. If the rule is removed at this time, users will have to adjust their configuration accordingly.

We hope that by following these guidelines we will be able to continue improving and working to make ESLint the best tool it can be while causing as little disruption to our users as possible during the process.

0 comments on commit e6d5b1f

Please sign in to comment.