Skip to content

Commit 967b9f2

Browse files
authored
[Fix] update anchor
1 parent 2dd829e commit 967b9f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install eslint eslint-plugin-react --save-dev
1717

1818
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.
1919

20-
## Configuration (legacy: `.eslintrc*`)
20+
## <a id="configuration">Configuration</a> (legacy: `.eslintrc*`)
2121

2222
Use [our preset](#recommended) to get reasonable defaults:
2323

lib/util/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function getReactVersionFromContext(context) {
8787
confVer = String(settingsVersion);
8888
} else if (!warnedForMissingVersion) {
8989
error('Warning: React version not specified in eslint-plugin-react settings. '
90-
+ 'See https://github.com/jsx-eslint/eslint-plugin-react#configuration-legacy-eslintrc .');
90+
+ 'See https://github.com/jsx-eslint/eslint-plugin-react#configuration .');
9191
warnedForMissingVersion = true;
9292
}
9393
confVer = /^[0-9]+\.[0-9]+$/.test(confVer) ? `${confVer}.0` : confVer;

0 commit comments

Comments
 (0)