Commit Graph

15 Commits

Author SHA1 Message Date
Patrik Oldsberg 92d6e673e7 scripts/check-docs-quality: avoid eager require of command-exists
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 20:26:19 +02:00
Patrik Oldsberg edc718e2de vale: a horrible workaround to pass config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 20:06:14 +02:00
Patrik Oldsberg 098e40cf21 scripts/check-docs-quality: ignore API reports and changelogs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 18:44:55 +02:00
Patrik Oldsberg f91974260b vale: support vale 2.0, update script, keep all config in .github
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-27 18:44:54 +02:00
Rémi Doreau 2c087c4568 feat(cypress): techdocs fixture
Signed-off-by: Rémi Doreau <remi.d45@gmail.com>
2021-07-21 00:01:28 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Tim Hansen 8f2d043d8d Few more whitelisted files
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-26 19:53:12 -06:00
Tim Hansen 16fa4ab3d9 Skip OWNERS.md for Vale
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-26 15:25:55 -06:00
Johan Haals 22416ced62 Ignore vale check for ADOPTERS.md
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-18 09:50:56 +01:00
Marek Calus 2361177d4e Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-01 22:24:42 +01:00
Alan Crosswell 7051183603 remove empty array elements passed to vale (#3190) 2020-10-31 20:46:03 +01:00
Himanshu Mishra c1d6bc03f6 Vale: Enforce vale to be run on CI 2020-10-14 11:16:23 +02:00
Himanshu Mishra 3b17fa02f8 Vale: Use files provided by lint staged to check 2020-10-14 11:07:56 +02:00
Himanshu Mishra 689b2f50e5 Run vale linter only if vale is installed 2020-10-12 15:38:34 +02:00
Mayursinh Sarvaiya 5c6a0356c0 feat: TechDocs - Add vale linter to check words quality in md files. (#2631)
* fix(docs): typos which were reflacted from vale linter's command

* feat: Implement Vale linter (#2031)
Initialize .vale.ini file
Add 'lint:docs' script to package.json, to lint all md files except the ones which are located in node_modules
Generate 'vocab.txt' by using command 'yarn run lint:docs' | grep -o ''[a-z A-Z]*'' | grep -o '[a-z A-Z]*' | sort | uniq > .github/styles/vocab.txt
Add steps to github workflow 'master' to check docs quality

* chore: Separate workflow for quality checking

* chore: Added 'shx' dev dependency to support grep command in cross platform

* feat: Add script to operate same quality check process on different platform

* ignore: remove lint:docs from lint-stages which was added for experiment purpose

* fix: check-all-files on push event & check-changed-files on pull_request event

* chore(CI): triggle workflow only when there is any updates in .md file(s) on pull request

* fix: use spawnSync to solve 'The command line is too long.' error

* fix: github workflow syntax

* fix: prettier error

* chore: add vale command directly to lint-staged

* chore: use shebang for easy access

* fix: windows script issue & remove shebang

* chore: Add shebang flag

* chore: better error message related to vale

* chore: mention vale linter in documentation

* fix: spelling errors & add keywords to vocab.txt
2020-10-02 07:20:47 +02:00