We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 480c010 commit e0d1293Copy full SHA for e0d1293
.github/workflows/ci.yml
@@ -1102,6 +1102,22 @@ jobs:
1102
false
1103
}
1104
- name: Run cargo-spellcheck
1105
- run: cargo spellcheck --code 1
+ run: |
1106
+ if ! cargo spellcheck --code 1
1107
+ then
1108
+ echo ''
1109
1110
+ echo 'If this is a Rust method/type/variable name, then you should'
1111
+ echo 'enclose it in backticks like this: `MyRustType`.'
1112
1113
+ echo 'If this is a real word, then you can add it to spellcheck.dic'
1114
+ exit 1
1115
+ fi
1116
- name: Detect trailing whitespace
- run: if grep --exclude-dir=.git --exclude-dir=target -re '\s$' . ; then exit 1; fi
1117
1118
+ if grep --exclude-dir=.git --exclude-dir=target -rne '\s$' .
1119
1120
1121
+ echo 'Please remove trailing whitespace from these lines.'
1122
1123
0 commit comments