4 Commits (8d03ed7959632d6f3ffd76020ad577fa409acfcd)

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
Boris Sekachev 2350aa7cf1
Updated husky to run git hooks on commit (#3034)
* Updated husky to the latest version

* Updated prepare command

* Updated package.json
5 years ago
Boris Sekachev 0576cb7872
Fixes for eslint & precommit configuration (#2352)
* Fixed some codacy configs, fixed commiting with lint-stage

* Improved code

* Fixed header

* Fixed headers

* Removed extra dependencies

* Updated some packages (fixed critical vulnerabilities)
5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago