Skip to content

Commit 1b842d1

Browse files
committed
fix(prefer-hooks-on-top): improve working of lint message
1 parent 11c9250 commit 1b842d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/prefer-hooks-on-top.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default createRule({
99
recommended: false,
1010
},
1111
messages: {
12-
noHookOnTop: 'Move all hooks before test cases',
12+
noHookOnTop: 'Hooks should come before test cases',
1313
},
1414
schema: [],
1515
type: 'suggestion',

0 commit comments

Comments
 (0)