Some rules need to be off in watch mode, like prettier/prettier. This should be checked in lint after prettier --write, but I think this should not be checked in watch mode. As a result, I will use command like esw --ext .js --rule 'prettier/prettier: off' ..
How does this solve the problem?
Add rule to options.
How to duplicate the issue
Add --rule in command like --rule 'prettier/prettier: off'.
What was the problem/Ticket Number
Some rules need to be
off
inwatch mode
, likeprettier/prettier
. This should be checked inlint
afterprettier --write
, but I think this should not be checked inwatch mode
. As a result, I will use command likeesw --ext .js --rule 'prettier/prettier: off' .
.How does this solve the problem?
Add
rule
tooptions
.How to duplicate the issue
--rule
in command like--rule 'prettier/prettier: off'
.