Skip to content

Commit

Permalink
fix prettier/
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvsadana committed Oct 7, 2024
1 parent e543d8f commit 65e76b0
Show file tree
Hide file tree
Showing 16 changed files with 243 additions and 259 deletions.
2 changes: 1 addition & 1 deletion vale/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
These styles were taken from https://github.com/expo/expo/tree/main/docs/.vale/writing-styles/expo-docs
These styles were taken from https://github.com/expo/expo/tree/main/docs/.vale/writing-styles/expo-docs
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/AppStores.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: substitution
message: "Consider using '%s' instead of '%s'"
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-app-stores'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-app-stores"
level: warning
ignorecase: false
swap:
Expand Down
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/Bits.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: "Incorrect bit unit. Use 'kbit', 'Mbit', 'Gbit', 'Tbit' for bits. The 'b' in 'bit' or 'bits' should be lowercase."
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-bytes-and-bits'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-bytes-and-bits"
level: warning
scope: raw
# Incorrect pattern(s) to flag
Expand Down
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/Bytes.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: "Incorrect byte. Use 'kB', 'MB', 'GB', 'TB' for bytes."
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-bytes-and-bits'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#referencing-bytes-and-bits"
level: warning
scope: raw
# Incorrect pattern(s) to flag
Expand Down
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/Consistency.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: substitution
message: "Consider using '%s' instead of '%s'"
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#follow-external-product-casing'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#follow-external-product-casing"
level: error
ignorecase: true
swap:
Expand Down
6 changes: 3 additions & 3 deletions vale/writing-styles/madara-docs/EmDash.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
extends: substitution
message: "Instead of '-' or '--', use '—'. Markdown renders this nicely."
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#use-mdash'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#use-mdash"
level: suggestion
scope: raw
# Look for ' - ' (space, hyphen, space) or ' -- ' (space, two hyphens, space)
swap:
' - ': ' — '
' -- ': ' — '
" - ": " — "
" -- ": " — "
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/FirstPerson.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: "Avoid first-person pronouns such as '%s'."
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#write-in-the-second-person'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#write-in-the-second-person"
ignorecase: false
level: warning
nonword: true
Expand Down
2 changes: 1 addition & 1 deletion vale/writing-styles/madara-docs/Gender.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: "Don't use '%s'. Use gender-neutral pronoun instead."
link: 'https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#use-gender-neutral-terms'
link: "https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#use-gender-neutral-terms"
ignorecase: true
level: warning
tokens:
Expand Down
Loading

0 comments on commit 65e76b0

Please sign in to comment.