Closed davidshepherd7 closed 6 years ago
@davidshepherd7 Test is the best doc :) Would you like to send a PR with mention?
I would but I'm not entirely sure what it actually does do.
According tests it adds 'use strict'; if it is not present.
Is that unconditionally, or with a certain configuration? Do you need to install an additional plugin to get the use strict?
@davidshepherd7 It inherits strict mode plugin, so you don't need. And yes it's unconditionally.
I noticed that in your tests you expect
use strict
to have been added to the result, but this isn't mentioned in the readme.