Wk-notes-01-06-eslint-finalise
Last updated
Was this helpful?
Last updated
Was this helpful?
** If using CLI-COMMAND > File-Name.json
it could went wrong.
In cli.js
, passing default fix as null
to eslint.
Consuming fix
directly in CLIEngine
The following code, will be transpiled by babel to
Key bug : null
will be treated as true
and the fixed file will be listed on the fly. The check in fixer is
Remember to use false as the defailt fix flag.