Skip to content

VBC-385: success-message-grammar ​

warning

Category: docs
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .astro
Scope: string and template literals only
Tags: ux copy

What it reports ​

Improper success message grammar at line {line}. Use 'Data saved successfully'.

Flagged ​

js
toast('Data save success');

Not flagged ​

js
toast('Data saved successfully');

Pattern ​

regex
['"]Data save success['"]|['"]Save success['"]

Released under the MIT License.