0.0.2 ā€¢ Published 2 years ago

eslint-plugin-avensia v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

avensia-eslint

Work in progress...

List of supported rules

āœ”: Enabled in the recommended configuration.\ šŸ”§: Fixable with eslint --fix.

āœ”šŸ”§RuleDescription
āœ”šŸ”§avensia/require-comment-for-hook-ignorePrevent ignoring exhaustive-deps or rules-of-hooks without describing why

Rules documentation

See eslint documentation for more information about working with ESLint rules.

CONTRIBUTING

An important note about contributing right now is that there is a problem in the markdown-magic package which is currently at 2.6.0. It has a dependency called @technote-space/doctoc that completely removed the possiblity to use require() and instead wants import(). The package has not been properly updated yet, so if you want to run the npm run generate-list-of-rules command, you have to open node_modules\markdown-magic\lib\transforms\toc.js and change: https://github.com/DavidWells/markdown-magic/issues/62 and https://github.com/DavidWells/markdown-magic/pull/64 and perhaps https://github.com/DavidWells/markdown-magic/pull/63

// this
const { transform } = require('@technote-space/doctoc')
// to this
const { transform } = import('@technote-space/doctoc')

And you should now be able to properly update README.md with your new rules. Follow these topics for updates on the topic: https://github.com/DavidWells/markdown-magic/issues/62

License

avensia-eslint is licensed under the MIT License.