@apolitical/mrlint
v1.0.1
Published
Node.js library to mantain GitLab MRs linted within a set of rules
Maintainers
Readme
Apolitical MRLint
Node.js module to expose Apolitical's GitLab MR linter
Requirements
Requires the following to run:
Installation
Install with yarn:
yarn add apolitical-mrlintUsage
The @apolitical/mrlint module is meant to be used from pipelines (CI/CD), doesn't matter if the repo is a UI or API.
After installing the package, just run:
yarn run danger ci -d $CI_PROJECT_DIR/node_modules/@apolitical/mrlint/index.jsNB: $CI_PROJECT_DIR is needed in order to fetch the exported index.js file correctly, as we're running in a VM from GitLab
And that is it, the MR suggestions should be appearing in GitLab!
