1.0.0 • Published 5 years ago
brmslint v1.0.0
Linter for BRMS
Install the latest release
npm install brmslint --save-dev
yarn add brmslint --devUsage
Single file:
brmslint filepath.srlSeveral files, use a glob:
brmslint './**/*.srl'Dev
Install
- Clone the repository
git clone git@github.com: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 startto run the cli on sample.srl
Tests
npm testto 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