brmslint
v1.0.0
Published
A linter for BRMS
Downloads
514
Readme
Linter for BRMS
Install the latest release
npm install brmslint --save-dev
yarn add brmslint --dev
Usage
Single file:
brmslint filepath.srl
Several files, use a glob:
brmslint './**/*.srl'
Dev
Install
- Clone the repository
git clone [email protected]:theodo/brms-linter.git
- You need to install antlr
- Create a simlink to your installed antlr jar
ln -sr <path to your installed antlr> <repo path>/antlr.jar
Run
npm start
to run the cli on sample.srl
Tests
npm test
to run jest tests- Tests are described in
tests/main.js
- The used samples files are in
tests/test-samples/**/*.srl
Release :
Bump package version: with a clean git history, run
npm version <version_type:patch|minor|major>
push to master preferably using a pull request