Skip to content

Commit

Permalink
fix(eslint): Ensure an empty line is added at generated eslintrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Jun 11, 2020
1 parent 5936f7a commit e351155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file was created by spire-plugin-eslint for editor support
module.exports = require('spire-plugin-eslint/config');
module.exports = require('spire-plugin-eslint/config');
2 changes: 1 addition & 1 deletion packages/spire-plugin-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function eslint(
await writeFile(
'.eslintrc.js',
'// This file was created by spire-plugin-eslint for editor support\n' +
`module.exports = require('${defaultEslintConfig}');`
`module.exports = require('${defaultEslintConfig}');\n`
);
}
},
Expand Down

0 comments on commit e351155

Please sign in to comment.