Skip to content

Commit

Permalink
Docs: .eslintrc.json > .eslintrc (#52)
Browse files Browse the repository at this point in the history
Figured it was worth specifying the .json extension because it takes higher precedence: https://eslint.org/docs/user-guide/configuring#configuration-file-formats

.eslintrc.json is what is recommended in prettier's README: https://github.com/prettier/prettier#eslint

.eslintrc is also slightly ambiguous given it can contain YAML
  • Loading branch information
rootulp authored and not-an-aardvark committed Sep 13, 2017
1 parent c777111 commit 95f0808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ npm install --save-dev prettier eslint-plugin-prettier

**_`eslint-plugin-prettier` does not install Prettier or ESLint for you._** _You must install these yourself._

Then, in your `.eslintrc`:
Then, in your `.eslintrc.json`:

```json
{
Expand Down

0 comments on commit 95f0808

Please sign in to comment.