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.ts
for an example of a test with a fixable rule npm test
will run all tests
- Run
npm run build
to 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
main
for theeslint-plugin-heap
entry in Heap'spackage.json
file