Skip to content

Commit 4f52724

Browse files
committed
[Fix] Remove extra space from CLI warning
1 parent 47078bd commit 4f52724

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
1313
* [`no-unknown-property`]: allow `onLoad` on `body` ([#3923][] @DerekStapleton)
1414
* [`no-unknown-property`]: allow `closedby` on `dialog` ([#3980][] @ljharb)
1515
* [`no-unknown-property`]: add `onScrollEnd` and `onScrollEndCapture` events as known properties ([#3958][] @xfeeefeee)
16+
* Remove extra space from CLI warning ([#3942][] @junaidkbr)
1617

1718
### Changed
1819
* [Docs] [`no-array-index-key`]: add template literal examples ([#3978][] @akahoshi1421)
1920

2021
[#3978]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3978
2122
[#3958]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3958
2223
[#3980]: https://github.com/jsx-eslint/eslint-plugin-react/issues/3980
24+
[#3942]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3942
2325
[#3930]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3930
2426
[#3923]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3923
2527

lib/util/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function getReactVersionFromContext(context) {
120120
}
121121
confVer = String(settingsVersion);
122122
} else if (!warnedForMissingVersion) {
123-
error('Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration .');
123+
error('Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration.');
124124
warnedForMissingVersion = true;
125125
}
126126

0 commit comments

Comments
 (0)