myaxa-eslint-plugin
ESlint plugin which contains custom rules, relevant for our project
Currently in contains these rules:
- className must use prefixClass function (myaxa-classnames)
How to edit existing rules
!!! You have to increase version in myaxa-eslint-plugin/package.json, when you update existing rule !!!
How to add new rules
- It's good to use
yo
generator to generate boilerplatenpm i -g yo generator-eslint
- Some references, which I've used during development: