Is your feature request related to a problem? Please describe.
- The code in
bin is not well managed by tools like eslint, babel or other tools
- The code has not been covered by any of the tests so far
Describe the solution you'd like
- move all code from
bin into src
- rename
htmlhint into cli.js
- create a file
bin/htmlhint.js, this file requires the src/cli.js
- fix bin in
package.json
- fix broken
require statements in files
Additional context
I have already tested that in https://github.com/Shinigami92/HTMLHint/tree/structure/move-bin
But the changes are already outdated
I will create a PR when the time is right
Is your feature request related to a problem? Please describe.
binis not well managed by tools like eslint, babel or other toolsDescribe the solution you'd like
binintosrchtmlhintintocli.jsbin/htmlhint.js, this file requires thesrc/cli.jspackage.jsonrequirestatements in filesAdditional context
I have already tested that in https://github.com/Shinigami92/HTMLHint/tree/structure/move-bin
But the changes are already outdated
I will create a PR when the time is right