Skip to content

Commit

Permalink
Update linter (#1671)
Browse files Browse the repository at this point in the history
* updated package version

* updated vale linter

* updated linter

* updated linter

* updated linter

* updated linter

* updated accept txt
  • Loading branch information
ygit authored Dec 19, 2023
1 parent ebd7020 commit 677a82f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/styles/Vocab/HMSVocab/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ userid
peerid
ios
android
iOS
authToken
issue_tracker
publish_to
2 changes: 1 addition & 1 deletion .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Vale linter
name: Vale Linter

on:
workflow_dispatch:
Expand Down
6 changes: 2 additions & 4 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ MinAlertLevel = error

Vocab = HMSVocab

Packages = Google

[*]
Packages = Google, Readability

[*.{md,yaml,dart,js,ts,tsx,jsx,java,kt,h,m,mm,swift}]
BasedOnStyles = Vale, Google


BlockIgnores = (?s) *(\x60\x60\x60[a-z]*\n[\s\S]*?\x60\x60\x60)

TokenIgnores = [a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12} , r.M , (^[a-z]|[A-Z])[a-z]* , `{3}([\S]+)?\n([\s\S]+)\n`{3} , .*",

0 comments on commit 677a82f

Please sign in to comment.