Skip to content

Commit 95f0808

Browse files
rootulpnot-an-aardvark
authored andcommitted
Docs: .eslintrc.json > .eslintrc (#52)
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
1 parent c777111 commit 95f0808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npm install --save-dev prettier eslint-plugin-prettier
3838

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

41-
Then, in your `.eslintrc`:
41+
Then, in your `.eslintrc.json`:
4242

4343
```json
4444
{

0 commit comments

Comments
 (0)