You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vale on/off doesn't work with URLs in an import block #1073
This is the part of my file where vale on/off isn't working (there are empty lines surrounding the Vale off and Vale on commands):
<!-- vale off -->
import CustomComments from "/src/components/procedure/_customize_pr_mr_comments.mdx"
import DeploymentJourney from "/src/components/concept/_deployment-journey.mdx"
import CommentTriggers from "/src/components/reference/_comment-triggers.mdx"
import PrCommentsInSast from "/src/components/procedure/_pr-comments-in-sast.mdx"
import PrCommentsInSecrets from "/src/components/procedure/_pr-comments-in-secrets.mdx"
import TroubleshootingPrLinks from "/src/components/reference/_troubleshooting-pr-links.mdx"
import NextAfterComments from "/src/components/procedure/_next-after-comments.mdx"
import CommentsInSupplyChain from "/src/components/concept/_comments-in-supply-chain.md"
import PL from '@site/src/components/Placeholder';
import EnableAutofix from "/src/components/procedure/_enable-autofix.mdx"
<!-- vale on -->
When I run Vale:
~/repos/semgrep-docs ~ vale docs/semgrep-appsec-platform/azure-pr-comments.md
docs/semgrep-appsec-platform/azure-pr-comments.md
13:66 error Use 'PR' instead of 'pr'. Vale.Terms
✖ 1 error, 0 warnings and 0 suggestions in 1 file.
Vale is flagging the first import statement as problematic, as shown in the console output above. PR is explicitly mentioned as the accepted term in my accept.txt file (unsure if this matters or not).
I'm uncertain as to why Vale on/off isn't working here.
Activity
test: pin a vale-off region after front matter and import lines (#1073)