Skip to content

Commit

Permalink
Docs: Document the deprecated meta property (#7367)
Browse files Browse the repository at this point in the history
  • Loading branch information
randycoulman authored and ilyavolodin committed Oct 16, 2016
1 parent 19d2996 commit 49d3c1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/developer-guide/working-with-rules.md
Expand Up @@ -61,6 +61,8 @@ The source file for a rule exports an object with the following properties.

* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../user-guide/configuring#configuring-rules)

* `deprecated` (boolean) indicates whether the rule has been deprecated. You may omit the `deprecated` property if the rule has not been deprecated.

`create` (function) returns an object with methods that ESLint calls to "visit" nodes while traversing the abstract syntax tree (AST as defined by [ESTree](https://github.com/estree/estree)) of JavaScript code:

* if a key is a node type, ESLint calls that **visitor** function while going **down** the tree
Expand Down

0 comments on commit 49d3c1b

Please sign in to comment.