Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Update README docs for quotemark and indent #523

Merged
merged 2 commits into from
Jul 23, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: consistent here and below

* `"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