mirror of
https://github.com/corona-warn-app/cwa-documentation
synced 2024-11-22 01:04:26 +01:00
Remove "alex" inconsiderate language scanner (#941)
* Remove "alex" inconsiderate language scanner * Remove job in workflow * Remove .alexignore & .alexrc.yaml
This commit is contained in:
parent
f16456d25b
commit
36471e2065
@ -1 +0,0 @@
|
|||||||
CODE_OF_CONDUCT.md
|
|
@ -1,4 +0,0 @@
|
|||||||
allow:
|
|
||||||
- German
|
|
||||||
- german
|
|
||||||
- european
|
|
5
.github/workflows/checks.yml
vendored
5
.github/workflows/checks.yml
vendored
@ -33,8 +33,3 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
npm run-script checklinks
|
npm run-script checklinks
|
||||||
|
|
||||||
#- name: Detect inconsiderate language
|
|
||||||
# if: always()
|
|
||||||
# run: |
|
|
||||||
# npm run-script detect-inconsiderate-language
|
|
||||||
|
@ -99,12 +99,3 @@ All cross references and external URLs are resolved.
|
|||||||
```shell
|
```shell
|
||||||
npm run-script checklinks
|
npm run-script checklinks
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Inconsiderate language scanner
|
|
||||||
|
|
||||||
This checks against profanity and inconsiderate language. This is helpful for
|
|
||||||
non-natives to detect words that could be inconsiderate. This utilizes [alex](https://github.com/get-alex/alex)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm run-script detect-inconsiderate-language
|
|
||||||
```
|
|
||||||
|
7167
package-lock.json
generated
7167
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,6 @@
|
|||||||
"description": "Corona-Warn-App: Documentation repository",
|
"description": "Corona-Warn-App: Documentation repository",
|
||||||
"main": "README.md",
|
"main": "README.md",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alex": "^10.0.0",
|
|
||||||
"markdown-link-check": "~3.8.7",
|
"markdown-link-check": "~3.8.7",
|
||||||
"markdownlint": "^0.26.2",
|
"markdownlint": "^0.26.2",
|
||||||
"markdownlint-cli": "^0.32.2",
|
"markdownlint-cli": "^0.32.2",
|
||||||
@ -13,8 +12,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "run-s markdownlint checklinks",
|
"test": "run-s markdownlint checklinks",
|
||||||
"markdownlint": "markdownlint '**/*.md' --ignore node_modules",
|
"markdownlint": "markdownlint '**/*.md' --ignore node_modules",
|
||||||
"checklinks": "find . -not -path \"*node_modules*\" -not -path \"*.github*\" -name \"*.md\" | xargs -n 1 markdown-link-check",
|
"checklinks": "find . -not -path \"*node_modules*\" -not -path \"*.github*\" -name \"*.md\" | xargs -n 1 markdown-link-check"
|
||||||
"detect-inconsiderate-language": "alex"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user