-
Notifications
You must be signed in to change notification settings - Fork 17
/
.acrolinx-config.edn
51 lines (38 loc) · 2.11 KB
/
.acrolinx-config.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
:allowed-branchname-matches ["main" "live"]
:allowed-filename-matches ["(?i)(?!(^.*/p|^p)osts-api\\.yml$)^docs/.*$"] ;; Can be overridden in repo-specific edn file. This is an allow list that identifies which folders contain the files Acrolinx will check. Separate multiple folders as follows ["folder/" "folder2"]
:use-gh-statuses true
:targets
{
:counts {
;;:spelling 10
;;:grammar 3
;;:total 15 ;; absolute flag count but i don't know the difference between this and issues
;;:issues 15 ;; coming from the platform, will need to be tested.
}
:scores {
;;:terminology 100
:qualityscore 80 ;; Remove the ;; to turn on the min score. Set 80 to whatever min score client wants (eventually should be 80) and leave the structure in place
;;:spelling 40
}
}
:guidance-profile "d2b6c2c8-00ee-47f1-8d10-b280cc3434c1" ;; Profile ID for "M365-specific"
:template-header
"
## Acrolinx Scorecards
**A minimum Acrolinx score of 80 is required.**
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.
| Article | Score | Issues | Correctness<br>score | Scorecard | Processed |
| ------- | ----- | ------ | -------------------- | --------- | --------- |
"
:template-change ;; Can be overriden in repo-specific edn file. This displays in the pull request results pane.
"| ${s/file} | ${acrolinx/qualityscore} | ${acrolinx/flags/issues} | ${acrolinx/scores/correctness} | [link](${acrolinx/scorecard}) | ${s/status} |
"
:template-footer ;; Can be overriden in repo-specific edn file. This displays in the pull request results pane.
"
**More information about Acrolinx**
- [Use the Visual Studio Code extension to run Acrolinx locally](https://review.learn.microsoft.com/office-authoring-guide/acrolinx-vscode?branch=main)
- [False positives or issues](https://aka.ms/acrolinxbug)
- [Troubleshooting issues with Acrolinx](https://review.learn.microsoft.com/help/contribute/acrolinx-error-messages)
"
}