Skip to content

Commit

Permalink
fix: Set 'use strict' in generated eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Jun 16, 2020
1 parent a521b2d commit e7b2b46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/spire-plugin-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ function eslint(
if (!hasCustomConfig) {
await writeFile(
'.eslintrc.js',
'// This file was created by spire-plugin-eslint for editor support\n' +
"'use strict';\n" +
'// This file was created by spire-plugin-eslint for editor support\n' +
`module.exports = require('${defaultEslintConfig}');\n`
);
}
Expand Down

0 comments on commit e7b2b46

Please sign in to comment.