Skip to content

Commit

Permalink
fix(jsx-directive): Ignore files without script block
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Dec 1, 2023
1 parent 6b75eb1 commit 675730d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rules/setup-sfc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ language: html
rule:
kind: fragment
pattern: $A
has:
kind: script_element
fix: /*$A*/

---
Expand Down

0 comments on commit 675730d

Please sign in to comment.