mirror of
https://github.com/lukaszraczylo/beat-delivery-methodology.git
synced 2026-11-26 11:08:13 +00:00
feat(scripts): add design-rule and banned-term check scripts
Two plain-Node check scripts, no new runtime dependency, that enforce the BEAT design rules and the copy discipline mechanically. Both exit non-zero when they find something and print file, line and column for every hit. scripts/check-design-rules.mjs covers README.md and public/src: no emoji characters, no gradient utilities or gradient declarations, no inline style attributes, no <style> blocks in Vue components, and no icon markup other than FontAwesome components or classes. scripts/check-banned-terms.mjs reads the banned-term list from scripts/banned-terms.txt, so the list can be tuned without touching the script. It scans the site copy (string literals, template text and user-visible attributes) and the README headings. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
1b590bd2ee
commit
bbb9ce3ae9
@@ -0,0 +1,69 @@
|
||||
# Banned terms for the BEAT site copy and the README headings.
|
||||
#
|
||||
# Format: one entry per line. Lines starting with "#" are comments, blank lines
|
||||
# are ignored. The list is data only: scripts/check-banned-terms.mjs reads this
|
||||
# file, so the list can be tuned without touching the script.
|
||||
#
|
||||
# Matching: a single word matches case-insensitively on word boundaries. A
|
||||
# multi-word phrase matches case-insensitively, and a space in the phrase
|
||||
# matches any run of spaces, hyphens or underscores, so "world-class" also
|
||||
# matches "world class".
|
||||
#
|
||||
# Scope: promotional superlatives, promotional claims and hype adjectives.
|
||||
# Ordinary prose words are deliberately left out of this list.
|
||||
|
||||
# --- Superlatives ---
|
||||
best
|
||||
perfect
|
||||
premium
|
||||
ultimate
|
||||
world-class
|
||||
best-in-class
|
||||
top-notch
|
||||
state-of-the-art
|
||||
greatest
|
||||
finest
|
||||
|
||||
# --- Promotional claims ---
|
||||
revolutionary
|
||||
game-changing
|
||||
cutting-edge
|
||||
next-generation
|
||||
bleeding-edge
|
||||
disruptive
|
||||
transformative
|
||||
groundbreaking
|
||||
unleash
|
||||
supercharge
|
||||
unlock
|
||||
one-stop
|
||||
turnkey
|
||||
10x
|
||||
|
||||
# --- Hype adjectives ---
|
||||
seamless
|
||||
seamlessly
|
||||
effortless
|
||||
effortlessly
|
||||
frictionless
|
||||
delightful
|
||||
stunning
|
||||
beautiful
|
||||
blazing
|
||||
blazingly
|
||||
powerful
|
||||
robust
|
||||
lightning-fast
|
||||
incredible
|
||||
amazing
|
||||
tremendous
|
||||
|
||||
# --- Phrases found in the current copy ---
|
||||
dramatically increase
|
||||
level up
|
||||
congratulations
|
||||
transform your
|
||||
everything you need
|
||||
|
||||
# --- Words seen in the current copy and added on purpose ---
|
||||
excellent
|
||||
Reference in New Issue
Block a user