From 180a4efe12d3042541d783064a48d6fec0f10aae Mon Sep 17 00:00:00 2001 From: Alex Tocar Date: Sat, 21 Oct 2023 21:57:32 +0200 Subject: [PATCH] chore: convey a stricter restriction from ~~just~~ to ***only*** (examples) The correction is rather grammatical than programmatic. --- packages/eslint-plugin-qwik/src/useMethodUsage.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/eslint-plugin-qwik/src/useMethodUsage.ts b/packages/eslint-plugin-qwik/src/useMethodUsage.ts index ec2c8b0ab1e..524865e7475 100644 --- a/packages/eslint-plugin-qwik/src/useMethodUsage.ts +++ b/packages/eslint-plugin-qwik/src/useMethodUsage.ts @@ -151,12 +151,12 @@ export const useMethodUsageExamples: QwikEslintExamples = { { codeHighlight: '{2} /component$/#a', code: useWrongFunctionBad, - description: '`use*` methods can just be used in `component$` functions.', + description: '`use*` methods can only be used in `component$` functions.', }, { codeHighlight: '{2} /component$/#a', code: useWrongFunctionBad2, - description: '`use*` methods can just be used in `component$` functions.', + description: '`use*` methods can only be used in `component$` functions.', }, ], }, @@ -171,12 +171,12 @@ export const useMethodUsageExamples: QwikEslintExamples = { { codeHighlight: '{2} /component$/#a', code: useNotRootBad, - description: '`use*` methods can just be used in `component$` functions.', + description: '`use*` methods can only be used in `component$` functions.', }, { codeHighlight: '{2} /component$/#a', code: useNotRootBad2, - description: '`use*` methods can just be used in `component$` functions.', + description: '`use*` methods can only be used in `component$` functions.', }, ], },