4 Commits (3aba7254c92fd30563abb9d55598ae024dc1b1cb)

Author SHA1 Message Date
Roman Donchenko 25975467ea
Fix all remark warnings (#3261)
* Fix all issues reported by remark

* Move remark dependencies from the workflow definition into package.json

This enables the transitive dependencies to be pinned, just like for all
other packages.

* Add additional remark plugins

These are needed to correctly parse certain constructs in Markdown files
(such as tables and YAML frontmatter), and without them, remark produces
invalid warnings on some files.

* Update the remark-lint preset versions

The previous versions reference the old version of the
`remark-lint-table-cell-padding` plugin, which doesn't work correctly with
the current version of `remark-parse` (and thus produces spurious warnings).

* GitHub Actions: run remark on all Markdown files, not just changed ones

This way, if a PR updates the remark configuration and that causes new errors
to appear, those errors will show up in that PR, instead of the (unrelated) PR
that next updates the affected files.

There is no runtime cost to this, because remark takes approximately 1 second
to check all files.
5 years ago
Dmitry Kruchinin e67a33206c
Installing a specific version of the module (#3157) 5 years ago
Dmitry Kruchinin 38b774046d
Remark linter. Check lenght of messages only. (#3117) 5 years ago
Dmitry Kruchinin e45018bc43
CI. Adding file validation by hadolint/stylelint/remark linters. (#3105)
* hadolint

* Hadolint config. Add some echos for help

* some fix

* add some dockerfiles for check

* Add python script to convert jsom to html.

hadolint.yml adaptation

* hadolint report if level "error" exist

* Revert Dockerfiles

* Add stylelint checking worklow

* Add remark checking for md files

* Remark. Remove --silent
5 years ago