Skip to content

Commit

Permalink
Update README docs for quotemark and indent
Browse files Browse the repository at this point in the history
Reading over the rules themselves, these arguments seem required (since November 2014!) but are never mentioned in the doc.
  • Loading branch information
weswigham committed Jul 23, 2015
1 parent cd244ca commit d5bb09e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ A sample configuration file with all options is available [here](https://github.
* `curly` enforces braces for `if`/`for`/`do`/`while` statements.
* `eofline` enforces the file to end with a newline.
* `forin` enforces a `for ... in` statement to be filtered with an `if` statement.*
* `indent` enforces consistent indentation with tabs or spaces.
* `indent` enforces indentation with tabs or spaces. Rule options (one is required):
* `"tabs"` enforces consistient tabs
* `"spaces"` enforces consistient spaces
* `interface-name` enforces the rule that interface names must begin with a capital 'I'
* `jsdoc-format` enforces basic format rules for jsdoc comments -- comments starting with `/**`
* each line contains an asterisk and asterisks must be aligned
Expand Down Expand Up @@ -177,7 +179,9 @@ A sample configuration file with all options is available [here](https://github.
* `"check-else"` checks that `else` is on the same line as the closing brace for `if`
* `"check-open-brace"` checks that an open brace falls on the same line as its preceding expression.
* `"check-whitespace"` checks preceding whitespace for the specified tokens.
* `quotemark` enforces consistent single or double quoted string literals.
* `quotemark` enforces consistent single or double quoted string literals. Rule options (one is required):
* `"single"` enforces single quotes
* `"double"` enforces double quotes
* `radix` enforces the radix parameter of `parseInt`
* `semicolon` enforces semicolons at the end of every statement.
* `switch-default` enforces a `default` case in `switch` statements.
Expand Down

0 comments on commit d5bb09e

Please sign in to comment.