Skip to content

Commit

Permalink
Docs: Update docs to refer to column (eslint#5937)
Browse files Browse the repository at this point in the history
* Update docs to refer to column

* Update column in new guide as well
  • Loading branch information
Sashko Stubailo authored and nzakas committed Apr 23, 2016
1 parent 586478e commit 43f6d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/working-with-rules-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ The main method you'll use is `context.report()`, which publishes a warning or e
* `node` - (optional) the AST node related to the problem. If present and `loc` is not specified, then the starting location of the node is used as the location of the problem.
* `loc` - (optional) an object specifying the location of the problem. If both `loc` and `node` are specified, then the location is used from `loc` instead of `node`.
* `line` - the 1-based line number at which the problem occurred.
* `col` - the 0-based column number at which the problem occurred.
* `column` - the 0-based column number at which the problem occurred.
* `data` - (optional) placeholder data for `message`.
* `fix` - (optional) a function that applies a fix to resolve the problem.
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide/working-with-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The main method you'll use is `context.report()`, which publishes a warning or e
* `node` - (optional) the AST node related to the problem. If present and `loc` is not specified, then the starting location of the node is used as the location of the problem.
* `loc` - (optional) an object specifying the location of the problem. If both `loc` and `node` are specified, then the location is used from `loc` instead of `node`.
* `line` - the 1-based line number at which the problem occurred.
* `col` - the 0-based column number at which the problem occurred.
* `column` - the 0-based column number at which the problem occurred.
* `data` - (optional) placeholder data for `message`.
* `fix` - (optional) a function that applies a fix to resolve the problem.

Expand Down

0 comments on commit 43f6d05

Please sign in to comment.