eslint-plugin-moyo
v4.0.3
Published
ESLint plugin generated by Moyo schema
Downloads
4
Maintainers
Readme
eslint-plugin-moyo
Basic example, compatible with ESLint 2.x and 3.x.
Updating
npm run update
will hithttp://moyo.quartethealth.local:3000/schema
and save the results to a JSON file.- Said JSON file is used to generate the specific classes and fields allowed by our schema
Credit: https://github.com/willklein/eslint-plugin-boilerplate
Usage
- AST Explorer is your friend
- Run
npm test
to make sure everything works - Update
index.js
to export the new rule name and any additional rules - Run the rule against a real codebase to flush out unexpected patterns that might error your code
- Update the
package.json
version - Publish to npm easily using the included release scripts that will bump the version,
npm publish
and push the repo to the git remote with tags published. Ex.npm run minor-release
(bumps 0.1.0 => 0.2.0)