diff --git a/README.md b/README.md index 8ee806cf13..56cc1d5ddf 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ npm install eslint eslint-plugin-react --save-dev It is also possible to install ESLint globally rather than locally (using `npm install -g eslint`). However, this is not recommended, and any plugins or shareable configs that you use must be installed locally in either case. -## Configuration (legacy: `.eslintrc*`) +## Configuration (legacy: `.eslintrc*`) Use [our preset](#recommended) to get reasonable defaults: diff --git a/lib/util/version.js b/lib/util/version.js index 652b82fffa..b2f7beb955 100644 --- a/lib/util/version.js +++ b/lib/util/version.js @@ -87,7 +87,7 @@ function getReactVersionFromContext(context) { confVer = String(settingsVersion); } else if (!warnedForMissingVersion) { error('Warning: React version not specified in eslint-plugin-react settings. ' - + 'See https://github.com/jsx-eslint/eslint-plugin-react#configuration-legacy-eslintrc .'); + + 'See https://github.com/jsx-eslint/eslint-plugin-react#configuration .'); warnedForMissingVersion = true; } confVer = /^[0-9]+\.[0-9]+$/.test(confVer) ? `${confVer}.0` : confVer;