From 3fff0952f489c191ac6294da8e94728fa8e4d630 Mon Sep 17 00:00:00 2001 From: waynzh Date: Sun, 6 Apr 2025 23:04:33 +0800 Subject: [PATCH 1/2] feat(no-bare-strings-in-template): allowlist support regex --- docs/rules/no-bare-strings-in-template.md | 6 +- lib/rules/no-bare-strings-in-template.js | 48 ++++++++++++--- .../lib/rules/no-bare-strings-in-template.js | 60 +++++++++++++++++++ 3 files changed, 102 insertions(+), 12 deletions(-) diff --git a/docs/rules/no-bare-strings-in-template.md b/docs/rules/no-bare-strings-in-template.md index df1fae123..b8ddc3e58 100644 --- a/docs/rules/no-bare-strings-in-template.md +++ b/docs/rules/no-bare-strings-in-template.md @@ -12,7 +12,7 @@ since: v7.0.0 ## :book: Rule Details -This rule disallows the use of bare strings in `