Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More config updates for MetaMask #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store
.idea
16 changes: 14 additions & 2 deletions spelling/.vale-star.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Vale configuration
# See vale_styles/README.md file for details and licencing information
# See vale_styles/README.md file for details and licensing information

# Styles directory for all packages and config (vocab) files

Expand Down Expand Up @@ -39,8 +39,9 @@ TokenIgnores = ({![^!}]+!}),\

BasedOnStyles = Consensys, Vale, Microsoft, proselint, write-good

# Allows Consensys Headings to take precedence
# Quiet headings: too many false positives
Microsoft.Headings = NO
Consensys.Headings = NO

# Allows using first-person plural like 'We'
Microsoft.We = NO
Expand All @@ -66,6 +67,12 @@ Microsoft.GeneralURL = NO
# Allows Microsoft.Adverbs to take precedence
Microsoft.Very = NO

# Quiet negative: too many false positives
Microsoft.Negative = NO

# Quiet terms: too many false positives
Microsoft.Terms = NO

# Allows proselint.Cliches to take precedence
write-good.Cliches = NO

Expand All @@ -84,4 +91,9 @@ write-good.TooWordy = NO
# Allows Microsoft passive to take precedence
write-good.Passive = NO

# Allows Microsoft.Adverbs to take precedence
proselint.Very = NO

proselint.Hyperbole = warning
write-good.ThereIs = warning
write-good.So = warning
14 changes: 13 additions & 1 deletion spelling/.vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ TokenIgnores = ({![^!}]+!}),\

BasedOnStyles = Consensys, Vale, Microsoft, proselint, write-good

# Allows Consensys Headings to take precedence
# Quiet headings: too many false positives
Microsoft.Headings = NO
Consensys.Headings = NO

# Allows using first-person plural like 'We'
Microsoft.We = NO
Expand All @@ -69,6 +70,12 @@ Microsoft.GeneralURL = NO
# Allows Microsoft.Adverbs to take precedence
Microsoft.Very = NO

# Quiet negative: too many false positives
Microsoft.Negative = NO

# Quiet terms: too many false positives
Microsoft.Terms = NO

# Allows proselint.Cliches to take precedence
write-good.Cliches = NO

Expand All @@ -87,4 +94,9 @@ write-good.TooWordy = NO
# Allows Microsoft passive to take precedence
write-good.Passive = NO

# Allows Microsoft.Adverbs to take precedence
proselint.Very = NO

proselint.Hyperbole = warning
write-good.ThereIs = warning
write-good.So = warning
2 changes: 1 addition & 1 deletion spelling/styles/Consensys/Headings.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends: capitalization
message: "'%s' should use sentence-style capitalization."
link: 'https://docs.microsoft.com/en-us/style-guide/capitalization'
level: warning
level: suggestion
scope: heading
match: $sentence
indicators:
Expand Down
1 change: 0 additions & 1 deletion spelling/styles/Microsoft/Adverbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ tokens:
- knavishly
- knowingly
- knowledgeably
- lazily
- lightly
- limply
- lively
Expand Down
2 changes: 1 addition & 1 deletion spelling/styles/Microsoft/HeadingPunctuation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ action:
name: edit
params:
- trim_right
- ".?!"
- ".!"
tokens:
- "[a-z][.!]$"
2 changes: 1 addition & 1 deletion spelling/styles/Microsoft/Terms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends: substitution
message: "Prefer '%s' over '%s'."
# term preference should be based on microsoft style guide, such as
link: https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/adapter
level: warning
level: suggestion
ignorecase: true
action:
name: replace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ scopechat
scopescan
scriptable
scry
sdks
sdk's
searchbar
sebastien
Expand Down
6 changes: 6 additions & 0 deletions spelling/styles/proselint/Very.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: existence
message: "Remove '%s'."
ignorecase: true
level: suggestion
tokens:
- very