Commit Graph

28 Commits

Author SHA1 Message Date
Fredrik Adelöw f3c5cf19ab Merge pull request #24581 from RaphaelSve/French-Translation
French translation
2024-07-04 20:24:03 +02:00
Raphaël acf66e727a Update check-docs-quality.js
Add new regex for README files

Signed-off-by: Raphaël <61149845+RaphaelSve@users.noreply.github.com>
2024-06-10 11:29:51 +02:00
Ismail M bd01494c1d successfully exit in local and throw in CI
Since `vale` may not be installed locally, we can successfully exit.

Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Ismail M <37075892+ismailmmd@users.noreply.github.com>
2024-06-02 00:02:23 +03:00
Ismail Mohammed cc2aca72f6 Fix error message when vale is not installed
Signed-off-by: Ismail Mohammed <ism5701@gmail.com>
2024-05-31 02:09:55 +03:00
Aramis 44c817ae23 chore: update my account for contributions
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 18:19:45 -05:00
Fredrik Adelöw e97cc0b0a3 updated the knip rules a bit
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-08 09:53:18 +01:00
Heikki Hellgren 60a68f10e9 ci: introduce knip for checking unused packages
fixes #21948

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-08 08:29:48 +02:00
Fredrik Adelöw b1ed0ebe29 bump to vale 3
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-01-18 10:19:38 +01:00
Patrik Oldsberg 3c39f46969 scripts/check-docs-quality: only check listed files if files are listed
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-12-20 16:01:43 +01:00
Patrik Oldsberg 8baa40700e scipts/check-docs-quality: update to ignore all api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 14:42:43 +01:00
Patrik Oldsberg 11df6f42b9 cli: use new eslint plugin + fix issues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-03 16:16:41 +01:00
Adam Harvey e2d61b82fb chore: Remove duplicate config flag
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2022-12-29 13:11:50 -05:00
Adam Harvey 679c181db1 chore: Ignore local reference and ignore eslint
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2022-12-22 09:55:54 -05:00
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