Skip to content

Commit 852772f

Browse files
committed
refactor: optimize error messages
1 parent 643648c commit 852772f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v1.5.9 (Draft)
2+
3+
### 🪄 Improvements
4+
5+
- Optimize error messages.
6+
17
## v1.5.8 (Thu 11 Apr 2024)
28

39
### 🪄 Improvements

packages/plugins/eslint-plugin-react-core/src/rules/no-string-refs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default createRule<[], MessageID>({
3030
requiresTypeChecking: false,
3131
},
3232
messages: {
33-
NO_STRING_REFS: "String refs are deprecated. Use callback refs instead.",
33+
NO_STRING_REFS: "The string refs are deprecated, use callback refs instead.",
3434
},
3535
schema: [],
3636
},

0 commit comments

Comments
 (0)