Skip to content

Commit

Permalink
test: add JSON example
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Jan 20, 2025
1 parent 992fddb commit e0a5750
Showing 4 changed files with 1,724 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testdata/features/blueprints.feature
Original file line number Diff line number Diff line change
@@ -12,6 +12,12 @@ Feature: Blueprints
Petstore.yaml:29:28:Vale.Spelling:Did you really mean 'Petstore'?
Petstore.yaml:407:8:Vale.Spelling:Did you really mean 'nonintegers'?
Rule.yml:3:39:Vale.Repetition:'can' is repeated!
github-workflow.json:14:24:Vale.Spelling:Did you really mean 'pull_request'?
github-workflow.json:213:222:Vale.Spelling:Did you really mean 'env'?
github-workflow.json:335:24:Vale.Spelling:Did you really mean 'pull_request'?
github-workflow.json:494:264:Vale.Spelling:Did you really mean 'prereleased'?
github-workflow.json:568:83:Vale.Spelling:Did you really mean 'job_id'?
github-workflow.json:652:83:Vale.Spelling:Did you really mean 'job_id'?
test.py:1:3:vale.Annotations:'FIXME' left in text
test.py:11:3:vale.Annotations:'XXX' left in text
test.py:13:16:vale.Annotations:'XXX' left in text
5 changes: 5 additions & 0 deletions testdata/fixtures/blueprints/.vale.ini
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@ MinAlertLevel = suggestion
[formats]
py = md

[*.json]
BasedOnStyles = Vale

Blueprint = GitHubActions

[*.py]
vale.Annotations = YES

Loading

0 comments on commit e0a5750

Please sign in to comment.