Closed vanruesc closed 7 years ago
Will look at this shortly - thanks for all the effort, looks good
Thanks for your time!
If you consider merging this, you might want to first take a look at #6 since that PR directly addresses the corresponding open issue #5 while also adding the .gitattributes
file.
Just added another commit in which I replaced a hard coded path in the rollup
config with package.module
. I forgot to include this change before, sorry for the inconvenience.
A new version of grunt-eslint came out, so I went ahead and updated it.
Hi @cleversoap,
although this is starting to get a bit messy because so much time has passed, I'm still hoping for this PR to get merged. I updated ESDoc to 1.x.x and adjusted everything to work with this new major release.
Here's an overview of the changes:
publisher
argument from esdoc.generate(config)
.esdoc-standard-plugin
for testing purposes. Works as expected with no further changes.I just realised that ESDoc >= 1.0.1 no longer reports coverage results in the console. Coverage is only available when the esdoc-coverage-plugin
or the esdoc-standard-plugin
is used.
I fixed the coverage report by reading the coverage output json file if it exists. In case a user decides not to use the esdoc-coverage-plugin
, grunt-esdoc
won't try to report coverage.
This change partially supersedes #4. (It doesn't include the coverage threshold feature.)
Closed in favour of #10.
With this PR I'd like to propose a revision of the current code base of the project to make it future-proof.
The changes are as follows:
package.json
Gruntfile
grunt/config
andgrunt/tasks
using jit-grunt and load-grunt-config for improved maintainability and build performancesrc/index.js
(uses Babel internally)esdoc.js
src/index.js
tasks/grunt-esdoc.js
was built using thegrunt build
taskPlease note that these changes are suggestions. I appreciate any feedback and criticism.