Skip to content

Commit

Permalink
fix(doc): typo and update or wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Feb 14, 2017
1 parent 1e26e22 commit 13f81da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Add `doc-code-blocks` to the plugins section of your `.eslintrc` configuration f
## Configuration

By default, the `doc-code-blocks` plugin uses the default ESLint rules, and the values for these could change
from one ESLint release to another. So you'd want to lock in your roles, or you might want different rules
from one ESLint release to another. So you'd want to lock in your rules, or you might want different rules
then your code base. This is how you'd do that.

In your `.eslintrc` or equivalent, set something like:
Expand All @@ -57,7 +57,7 @@ In your `.eslintrc` or equivalent, set something like:
}
```

Make sure to specify the `extends`, or your `doc-code-blocks/` namespaced rules will not work.
Make sure to specify `'plugin:doc-code-blocks/all'` in the `extends` array, or your `doc-code-blocks/` namespaced rules will not work.
You can use all of the default ESLint rules here, like `quotes` above.

*Note: This plugin doesn't currently provide any rules of it's own.*

0 comments on commit 13f81da

Please sign in to comment.