Skip to content

Commit

Permalink
[Fix] update anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
gokaygurcan committed Jun 5, 2023
1 parent 2dd829e commit 967b9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*`)
## <a id="configuration">Configuration</a> (legacy: `.eslintrc*`)

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

Expand Down
2 changes: 1 addition & 1 deletion lib/util/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 967b9f2

Please sign in to comment.