I notice that not all the formatters that ship with eslint 1.0.0 actually
work with Grunt. I moved the folder over to another location accessible
by grunt and ran
// Using gruntify-eslint
eslint: {
options: {
format: "./formatters/compact"
},
I replaced "compact" with the filenames (minus .js extension) and got the
following:
checkstyle // works
compact // works
jslint-xml // Warning: Formatter ./formatters/jslint-xml not found Use
--force to continue.
json // works
junit // Warning: Formatter ./formatters/junit not found Use --force
to continue.
stylish // Warning: Formatter ./formatters/stylish not found Use
--force to continue.
tap // Warning: Formatter ./formatters/tap not found Use -- force to
continue.
unix // works
The failure of "stylish" is strange, since it is the DEFAULT, and seems to
work when it is accessed as the default (with no explicit object reference).
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.