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

add vale linting to docs as ci check #5623

Merged
merged 508 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
508 commits
Select commit Hold shift + click to select a range
3bb7a7e
add
mirnawong1 Jul 1, 2024
3039291
add
mirnawong1 Jul 1, 2024
bb2833a
add
mirnawong1 Jul 1, 2024
c71721f
add )
mirnawong1 Jul 1, 2024
986e29a
add
mirnawong1 Jul 1, 2024
65e569c
add
mirnawong1 Jul 1, 2024
5c2451b
add
mirnawong1 Jul 1, 2024
fba7fd0
add
mirnawong1 Jul 1, 2024
3dfc9b0
add
mirnawong1 Jul 2, 2024
2828e12
add
mirnawong1 Jul 2, 2024
b794d60
add
mirnawong1 Jul 2, 2024
79accc3
add
mirnawong1 Jul 2, 2024
585eec8
add
mirnawong1 Jul 2, 2024
1f7844f
add
mirnawong1 Jul 2, 2024
75cfc49
add
mirnawong1 Jul 2, 2024
a6ecafa
add
mirnawong1 Jul 2, 2024
d88a69e
add
mirnawong1 Jul 2, 2024
10779f5
add
mirnawong1 Jul 2, 2024
4e44e91
reporter
mirnawong1 Jul 2, 2024
c7bc501
add
mirnawong1 Jul 2, 2024
930266c
add
mirnawong1 Jul 2, 2024
2e9020e
add
mirnawong1 Jul 2, 2024
b6cfb2e
add
mirnawong1 Jul 2, 2024
2c351ec
add
mirnawong1 Jul 2, 2024
a2600ba
add
mirnawong1 Jul 2, 2024
6d40539
add
mirnawong1 Jul 2, 2024
34ed922
add
mirnawong1 Jul 2, 2024
f9aa8ef
add
mirnawong1 Jul 2, 2024
40e7b19
add
mirnawong1 Jul 2, 2024
ad316c3
add
mirnawong1 Jul 2, 2024
f075a50
add
mirnawong1 Jul 2, 2024
38cde2d
add
mirnawong1 Jul 2, 2024
24fc4ef
add
mirnawong1 Jul 2, 2024
2a0d4e3
add
mirnawong1 Jul 2, 2024
378b601
add
mirnawong1 Jul 2, 2024
77113e7
add
mirnawong1 Jul 2, 2024
9a7153d
add
mirnawong1 Jul 2, 2024
efca072
add
mirnawong1 Jul 3, 2024
9a93686
add
mirnawong1 Jul 3, 2024
ac19b37
add
mirnawong1 Jul 3, 2024
40ba474
add
mirnawong1 Jul 4, 2024
8a139fc
add ignore filters
mirnawong1 Jul 4, 2024
c886e0c
add actions
mirnawong1 Jul 4, 2024
9d1fdf0
Merge branch 'current' into test-vale
mirnawong1 Jul 8, 2024
664eb24
update
mirnawong1 Jul 8, 2024
cc68109
add
mirnawong1 Jul 8, 2024
78c132a
add
mirnawong1 Jul 8, 2024
2ea9894
add
mirnawong1 Jul 8, 2024
1dc472d
add
mirnawong1 Jul 8, 2024
3469194
add
mirnawong1 Jul 8, 2024
db31c04
add
mirnawong1 Jul 8, 2024
504384d
add
mirnawong1 Jul 8, 2024
813ed4b
add
mirnawong1 Jul 8, 2024
9237b87
add
mirnawong1 Jul 8, 2024
d0dc5e5
add
mirnawong1 Jul 8, 2024
93eec78
add
mirnawong1 Jul 8, 2024
de6e5bb
add
mirnawong1 Jul 8, 2024
73945fe
add
mirnawong1 Jul 8, 2024
d8c73c9
add
mirnawong1 Jul 8, 2024
477e93c
add
mirnawong1 Jul 8, 2024
39c707f
add
mirnawong1 Jul 8, 2024
baae60c
add
mirnawong1 Jul 8, 2024
01d7fd0
add
mirnawong1 Jul 8, 2024
c2673fb
add
mirnawong1 Jul 8, 2024
b784e64
add
mirnawong1 Jul 8, 2024
4aedae2
add
mirnawong1 Jul 8, 2024
29d989b
add
mirnawong1 Jul 8, 2024
0afa795
add
mirnawong1 Jul 8, 2024
645d9e0
add
mirnawong1 Jul 8, 2024
02b17a9
add
mirnawong1 Jul 8, 2024
65bfa2f
add
mirnawong1 Jul 8, 2024
11545bb
add
mirnawong1 Jul 8, 2024
d7616db
add
mirnawong1 Jul 8, 2024
dd71fca
add
mirnawong1 Jul 8, 2024
e42c220
add
mirnawong1 Jul 8, 2024
c1fdf69
add
mirnawong1 Jul 8, 2024
71d0f89
add
mirnawong1 Jul 8, 2024
8b304f6
add
mirnawong1 Jul 8, 2024
538c65c
add
mirnawong1 Jul 8, 2024
84d6e5c
add
mirnawong1 Jul 8, 2024
02a880b
add
mirnawong1 Jul 8, 2024
8d28924
add
mirnawong1 Jul 8, 2024
e462a29
add
mirnawong1 Jul 8, 2024
1fd77bb
add
mirnawong1 Jul 8, 2024
d5af1f3
add
mirnawong1 Jul 8, 2024
6dde6d1
add
mirnawong1 Jul 8, 2024
853373c
add
mirnawong1 Jul 8, 2024
a13132b
add
mirnawong1 Jul 8, 2024
9a1d4a1
add
mirnawong1 Jul 8, 2024
ccc447d
add
mirnawong1 Jul 8, 2024
9bd92b5
add
mirnawong1 Jul 8, 2024
aaafe8f
Merge branch 'current' into test-vale
mirnawong1 Jul 10, 2024
6a06974
Update vale.yml
mirnawong1 Jul 10, 2024
06e66c7
add
mirnawong1 Jul 10, 2024
ad002e3
add
mirnawong1 Jul 10, 2024
932e6c3
Merge branch 'current' into test-vale
mirnawong1 Jul 12, 2024
31af5bb
add
mirnawong1 Jul 12, 2024
84bebc2
Merge branch 'test-vale' of https://github.com/dbt-labs/docs.getdbt.c…
mirnawong1 Jul 12, 2024
ae13dc5
add
mirnawong1 Jul 12, 2024
57b68fc
add
mirnawong1 Jul 12, 2024
dad9e3b
w/o json
mirnawong1 Jul 12, 2024
5095131
add
mirnawong1 Jul 12, 2024
9281348
add
mirnawong1 Jul 12, 2024
eb9f8d8
add
mirnawong1 Jul 12, 2024
fc2ba38
add
mirnawong1 Jul 12, 2024
1f4b196
add
mirnawong1 Jul 12, 2024
8fa869a
add
mirnawong1 Jul 12, 2024
21f2084
add
mirnawong1 Jul 12, 2024
caa98dc
add
mirnawong1 Jul 12, 2024
7bee65f
add
mirnawong1 Jul 12, 2024
b3e89a5
add
mirnawong1 Jul 12, 2024
3bb7eef
dd
mirnawong1 Jul 12, 2024
09a9a89
add
mirnawong1 Jul 12, 2024
d431861
add
mirnawong1 Jul 12, 2024
52777d2
add
mirnawong1 Jul 12, 2024
152a471
add
mirnawong1 Jul 12, 2024
809b87d
add
mirnawong1 Jul 12, 2024
61ef5ac
add
mirnawong1 Jul 12, 2024
8b3f1ac
add
mirnawong1 Jul 12, 2024
21a0dda
add
mirnawong1 Jul 12, 2024
4572707
add
mirnawong1 Jul 12, 2024
6858ae5
add
mirnawong1 Jul 12, 2024
fea73f6
add
mirnawong1 Jul 12, 2024
f1f8912
add
mirnawong1 Jul 12, 2024
45fb6c3
add
mirnawong1 Jul 12, 2024
fe73787
add
mirnawong1 Jul 12, 2024
e34a9a5
add
mirnawong1 Jul 12, 2024
4c67db2
add
mirnawong1 Jul 12, 2024
c92dda5
add
mirnawong1 Jul 12, 2024
b630a6b
add
mirnawong1 Jul 12, 2024
13e6a6a
add
mirnawong1 Jul 12, 2024
0017276
add
mirnawong1 Jul 12, 2024
6724969
add
mirnawong1 Jul 12, 2024
4f17617
add
mirnawong1 Jul 12, 2024
4c9aae9
add
mirnawong1 Jul 12, 2024
4f0041c
add
mirnawong1 Jul 12, 2024
bb12cef
add
mirnawong1 Jul 12, 2024
846be6f
Merge branch 'current' into test-vale
mirnawong1 Jul 18, 2024
bf108aa
Merge branch 'current' into test-vale
mirnawong1 Jul 23, 2024
6ebacdd
Merge branch 'current' into test-vale
mirnawong1 Aug 22, 2024
123aa27
add
mirnawong1 Aug 22, 2024
f18b30a
add
mirnawong1 Aug 22, 2024
b6a6191
add
mirnawong1 Aug 22, 2024
3de14d7
add
mirnawong1 Aug 22, 2024
72e899a
add
mirnawong1 Aug 22, 2024
a86e383
add
mirnawong1 Aug 22, 2024
a3d538a
Update vale.yml
mirnawong1 Aug 22, 2024
859df6e
Update vale.yml
mirnawong1 Aug 22, 2024
c44ab4b
Update vale.yml
mirnawong1 Aug 22, 2024
1d1f16a
Merge branch 'current' into test-vale
mirnawong1 Sep 10, 2024
f8a7de2
update
mirnawong1 Sep 10, 2024
ee9e181
Merge branch 'test-vale' of github.com:dbt-labs/docs.getdbt.com into …
mirnawong1 Sep 10, 2024
72347d5
add
mirnawong1 Sep 10, 2024
407d555
Merge branch 'current' into test-vale
mirnawong1 Sep 10, 2024
f9a2238
Merge branch 'test-vale' of github.com:dbt-labs/docs.getdbt.com into …
mirnawong1 Sep 10, 2024
162f220
Update vale.yml
mirnawong1 Sep 10, 2024
f64c43e
add
mirnawong1 Sep 10, 2024
54bfa3d
fix
mirnawong1 Sep 10, 2024
08b855f
add
mirnawong1 Sep 10, 2024
cd9307e
add
mirnawong1 Sep 10, 2024
c93122e
add
mirnawong1 Sep 10, 2024
ecdc351
add
mirnawong1 Sep 10, 2024
d242014
Merge branch 'current' into test-vale
mirnawong1 Sep 10, 2024
8f20eca
add
mirnawong1 Sep 10, 2024
364c0bd
Merge branch 'current' into test-vale
mirnawong1 Sep 11, 2024
d784a0c
Merge branch 'test-vale' of github.com:dbt-labs/docs.getdbt.com into …
mirnawong1 Sep 11, 2024
bbe8bf0
add
mirnawong1 Sep 11, 2024
e053cd3
add
mirnawong1 Sep 11, 2024
94df9e2
add
mirnawong1 Sep 11, 2024
5b9123d
Add
mirnawong1 Sep 11, 2024
06ef5b7
add
mirnawong1 Sep 11, 2024
e97ecd9
add
mirnawong1 Sep 11, 2024
04f5272
Merge branch 'current' into test-vale
mirnawong1 Sep 11, 2024
5d0050c
add
mirnawong1 Sep 11, 2024
627ea79
Merge branch 'test-vale' of github.com:dbt-labs/docs.getdbt.com into …
mirnawong1 Sep 11, 2024
3badf8d
add
mirnawong1 Sep 11, 2024
78e61db
add
mirnawong1 Sep 11, 2024
215912f
add
mirnawong1 Sep 11, 2024
29fd79f
add
mirnawong1 Sep 11, 2024
5422da4
add
mirnawong1 Sep 11, 2024
27cb655
add
mirnawong1 Sep 11, 2024
d460304
update
mirnawong1 Sep 12, 2024
e0422eb
update
mirnawong1 Sep 12, 2024
7a96d03
update
mirnawong1 Sep 12, 2024
eb35a7b
upate
mirnawong1 Sep 12, 2024
64ed73d
add pr check
mirnawong1 Sep 12, 2024
1b470db
update
mirnawong1 Sep 12, 2024
0ba9c89
udpate
mirnawong1 Sep 12, 2024
8fd371e
update
mirnawong1 Sep 12, 2024
af81e66
update
mirnawong1 Sep 12, 2024
167ecb5
update
mirnawong1 Sep 12, 2024
c87b9d8
update
mirnawong1 Sep 12, 2024
ab9f830
update
mirnawong1 Sep 13, 2024
d74553d
udpate
mirnawong1 Sep 13, 2024
a42b11c
udpate
mirnawong1 Sep 13, 2024
68f1e42
add
mirnawong1 Sep 13, 2024
2bfafa2
update
mirnawong1 Sep 13, 2024
29c472b
update
mirnawong1 Sep 13, 2024
149bf30
update
mirnawong1 Sep 13, 2024
722dcc2
udpate
mirnawong1 Sep 13, 2024
ded3381
update
mirnawong1 Sep 13, 2024
38d35e4
update
mirnawong1 Sep 13, 2024
d0f3137
add
mirnawong1 Sep 16, 2024
2728f68
update
mirnawong1 Sep 16, 2024
0ba5595
update
mirnawong1 Sep 16, 2024
cfc8c3c
update
mirnawong1 Sep 16, 2024
ca11a44
update
mirnawong1 Sep 16, 2024
e62d9a6
update
mirnawong1 Sep 16, 2024
2c62a75
update
mirnawong1 Sep 16, 2024
e6b5f40
update
mirnawong1 Sep 16, 2024
753f349
update
mirnawong1 Sep 16, 2024
5517d3e
update
mirnawong1 Sep 16, 2024
a175def
update
mirnawong1 Sep 16, 2024
92f7363
update
mirnawong1 Sep 16, 2024
663e62b
update
mirnawong1 Sep 16, 2024
da73c5a
update
mirnawong1 Sep 16, 2024
13716c6
update
mirnawong1 Sep 16, 2024
523a10f
update
mirnawong1 Sep 16, 2024
570e1ae
update
mirnawong1 Sep 16, 2024
8d155e5
update
mirnawong1 Sep 16, 2024
8282196
update
mirnawong1 Sep 16, 2024
4d7b881
update
mirnawong1 Sep 16, 2024
490d01a
update
mirnawong1 Sep 16, 2024
0a8c600
update
mirnawong1 Sep 16, 2024
f8de4cc
update
mirnawong1 Sep 16, 2024
8f3b0be
update
mirnawong1 Sep 16, 2024
18170e7
update
mirnawong1 Sep 16, 2024
a9efc4a
update
mirnawong1 Sep 16, 2024
d3e6fd9
update
mirnawong1 Sep 16, 2024
ebc33f3
update
mirnawong1 Sep 16, 2024
5538bca
update
mirnawong1 Sep 16, 2024
f3f6e42
update
mirnawong1 Sep 16, 2024
c37190d
update
mirnawong1 Sep 16, 2024
870939c
update
mirnawong1 Sep 16, 2024
78b5a62
update
mirnawong1 Sep 16, 2024
dfe585a
Merge branch 'current' into test-vale
mirnawong1 Sep 19, 2024
84ebaf3
Merge branch 'current' into test-vale
mirnawong1 Sep 27, 2024
0433214
Merge branch 'current' into test-vale
mirnawong1 Sep 27, 2024
b3c877b
update accepted
mirnawong1 Sep 27, 2024
f6248ce
update accepted
mirnawong1 Sep 27, 2024
8f47902
update ui
mirnawong1 Sep 27, 2024
70bb461
update ui
mirnawong1 Sep 27, 2024
1ebf739
update header
mirnawong1 Sep 27, 2024
2605ad3
update accept
mirnawong1 Sep 27, 2024
80e769e
update accept
mirnawong1 Sep 27, 2024
709ee46
update accept
mirnawong1 Sep 27, 2024
1210890
update accept
mirnawong1 Sep 27, 2024
e2f8c19
update accept
mirnawong1 Sep 27, 2024
c7e4195
update accept
mirnawong1 Sep 27, 2024
2a7b895
Merge branch 'current' into test-vale
mirnawong1 Oct 15, 2024
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
80 changes: 80 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Vale linting

on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'website/docs/**/*'
- 'website/blog/**/*'
- 'website/**/*'

jobs:
vale:
name: Vale linting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: List repository contents
run: |
pwd
ls -R
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install Vale
run: pip install vale==2.27.0 # Install a stable version of Vale

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v34
with:
files: |
website/**/*.md
separator: ' '

- name: Debugging - Print changed files
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: |
echo "Changed files:"
echo "${{ steps.changed-files.outputs.all_changed_and_modified_files }}"
- name: Confirm files exist
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: |
echo "Checking if files exist..."
for file in ${{ steps.changed-files.outputs.all_changed_and_modified_files }}; do
if [ -f "$file" ]; then
echo "Found: $file"
else
echo "File not found: $file"
exit 1
fi
done
- name: Run vale
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
uses: errata-ai/vale-action@reviewdog
with:
token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
files: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
separator: ' '
version: '2.27.0'

- name: Post summary comment
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: |
COMMENT="❗️Oh no, some Vale linting found issues! Please check the **Files change** tab for detailed results and make the necessary updates."
COMMENT+=$'\n'
COMMENT+=$'\n\n'
COMMENT+="➡️ Link to detailed report: [Files changed](${{ github.event.pull_request.html_url }}/files)"
gh pr comment ${{ github.event.pull_request.number }} --body "$COMMENT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions .hyperlint/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
content_dir: /docs
authorized_users:
- mirnawong1
- matthewshaver
- nghi-ly
- runleonarun
- nataliefiann

vale:
enabled: true
7 changes: 7 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
StylesPath = styles
MinAlertLevel = warning

Vocab = EN

[*.md]
BasedOnStyles = custom
67 changes: 67 additions & 0 deletions styles/Vocab/EN/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
dbt Cloud
dbt Core
dbt Semantic Layer
dbt Explorer
dbt
dbt-tonic
dbtonic
IDE
CLI
Config
info
docs
yaml
YAML
SQL
bash
shell
MetricFlow
jinja
jinja2
sqlmesh
Snowflake
Databricks
Fabric
Redshift
Azure
DevOps
Athena
Amazon
UI
CSV
S3
SCD
repo
dbt_project.yml
boolean
defaultValue=
DWH
DWUs
shoutout
ADF
BQ
gcloud
MSFT
DDL
APIs
API
SSIS
PBI
PowerBI
datetime
PySpark
:::caution
:::note
:::info
:::tip
:::warning
\<[^>]+\>
\b[A-Z]{2,}(?:/[A-Z]{2,})?\b
\w+-\w+
\w+/\w+
n/a
N/A
\<Tabs
pseudocolumn
yml
values=
9 changes: 9 additions & 0 deletions styles/Vocab/EN/reject.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DBT Cloud
DBT Core
DBT Semantic Layer
DBT Explorer
DBT
DBT-tonic
DBTonic
DBT Mesh
\b\w+\s{2,}\w+\b <!-- catches extra spaces -->
21 changes: 21 additions & 0 deletions styles/custom/LatinAbbreviations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
extends: substitution
message: "Avoid latin abbreviations: '%s'. Consider using '%s' instead."
level: warning
ignorecase: false

swap:
- e.g.: for example
- eg: for example
- e.g: for example
- i.e.: for example
- i.e.: that is
- etc.: and so on
- N.B.: Note

action:
name: replace
params:
- for example
- that is
- and so on
- Note
8 changes: 8 additions & 0 deletions styles/custom/Metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: metric
message: "Try to keep the Flesch-Kincaid grade level (%s) below 8."
link: https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests

formula: |
(0.39 * (words / sentences)) + (11.8 * (syllables / words)) - 15.59
condition: "> 8.0"
6 changes: 6 additions & 0 deletions styles/custom/Repitition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: repetition
message: "'%s' is repeated!"
level: warning
alpha: true
tokens:
- '[^\s]+'
34 changes: 34 additions & 0 deletions styles/custom/SentenceCaseHeaders.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
extends: capitalization
message: "'%s' should use sentence-style capitalization. Try '%s' instead."
level: warning
scope: heading
match: $sentence # Enforces sentence-style capitalization
indicators:
- ":"
exceptions:
- '\bdbt\b'
- '\bdbt\s+Cloud\b'
- '\bdbt\s+Core\b'
- '\bdbt\s+Cloud\s+CLI\b'
- Snowflake
- Databricks
- Azure
- GCP
- AWS
- SQL
- CLI
- API
- YAML
- JSON
- HTML
- Redshift
- Google
- BigQuery
- SnowSQL
- Snowsight
- Snowpark
- Fabric
- Microsoft
- Postgres
- Explorer
- IDE
39 changes: 39 additions & 0 deletions styles/custom/Typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
extends: spelling

message: "Oops there's a typo -- did you really mean '%s'? "
level: warning

action:
name: suggest
params:
- spellings

custom: true
filters:
- '\bdbt\b'
- '\bdbt\s+Cloud\b'
- '\bdbt\s+Core\b'
- '\bdbt\s+Cloud\s+CLI\b'
- '\bdbt\s+.*?\b'
- '<[^>]+>' # Ignore all HTML-like components starting with < and ending with >
- '<[^>]+>.*<\/[^>]+>'

---

extends: existence

message: "Ignore specific patterns"
level: skip
tokens:
- '\bdbt\b'
- '\bdbt\s+Cloud\b'
- '\bdbt\s+Core\b'
- '\bdbt\s+Cloud\s+CLI\b'
- '\bdbt\s+.*?\b'
- '<[^>]+>' # Ignore all HTML-like components starting with < and ending with >
- '<[^>]+>.*<\/[^>]+>'
- '\w+-\w+'
- '\w+/\w+'
- '\w+/\w+|\w+-\w+|n/a'
- 'n/a'
- 'N/A'
17 changes: 17 additions & 0 deletions styles/custom/UIElements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# styles/custom/BoldUIElements.yml
extends: existence
message: "UI elements like '%s' should be bold."
level: warning
tokens:
# Match UI elements that are not bolded (i.e., not within **), but exclude those starting a sentence or following a list number
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSave\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSave as\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bCancel\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSubmit\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bEdit\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bAccount settings\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bProject details\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bProfile settings\b'
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bPersonal profile\b'

scope: raw # Ensure the rule is applied before formatting
Loading