Heap's custom eslint rules. These rules are under development and are not recommended for use outside of Heap. We are not accepting contributors at this time.
- Add rules to
src/rules. Filenames should be the same name as the rule. - Export created rules in
src/index.ts
- See
src/rules/no-wildcard-imports.spec.tsfor an example of a test with a fixable rule npm testwill run all tests
- Run
npm run buildto build js files indist/ - Commit and push all files (including changes in
dist/) to a topic branch - Open a Pull Request to merge into
main; Squash and merge once approved - Once merged, use the latest commit hash in
mainfor theeslint-plugin-heapentry in Heap'spackage.jsonfile