From 62d9eb30df9764cdaaf3f7dfce11baf9c16ccbda Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Thu, 7 Sep 2017 22:21:13 -0700 Subject: [PATCH] .eslintrc.json > .eslintrc 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d958599d..b8fe9328 100644 --- a/README.md +++ b/README.md @@ -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 {