1
0
mirror of https://github.com/corona-warn-app/cwa-documentation synced 2024-11-25 02:34:27 +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:
Lars 2023-02-06 10:56:37 +01:00 committed by GitHub
parent f16456d25b
commit 36471e2065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 7189 deletions

View File

@ -1 +0,0 @@
CODE_OF_CONDUCT.md

View File

@ -1,4 +0,0 @@
allow:
- German
- german
- european

View File

@ -33,8 +33,3 @@ jobs:
if: always()
run: |
npm run-script checklinks
#- name: Detect inconsiderate language
# if: always()
# run: |
# npm run-script detect-inconsiderate-language

View File

@ -99,12 +99,3 @@ All cross references and external URLs are resolved.
```shell
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

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,6 @@
"description": "Corona-Warn-App: Documentation repository",
"main": "README.md",
"dependencies": {
"alex": "^10.0.0",
"markdown-link-check": "~3.8.7",
"markdownlint": "^0.26.2",
"markdownlint-cli": "^0.32.2",
@ -13,8 +12,7 @@
"scripts": {
"test": "run-s markdownlint checklinks",
"markdownlint": "markdownlint '**/*.md' --ignore node_modules",
"checklinks": "find . -not -path \"*node_modules*\" -not -path \"*.github*\" -name \"*.md\" | xargs -n 1 markdown-link-check",
"detect-inconsiderate-language": "alex"
"checklinks": "find . -not -path \"*node_modules*\" -not -path \"*.github*\" -name \"*.md\" | xargs -n 1 markdown-link-check"
},
"repository": {
"type": "git",