Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
joelcox22 committed Mar 9, 2024
1 parent 76cb11b commit 1d1d514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lint/config/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function configure() {
debug('removing eslintConfig from package.json in favour of config via eslint.config.js file');
delete packageJson.eslintConfig;
}
fs.writeFileSync('eslint.config.js', "export default from '@joelbot/eslint-config';\n");
fs.writeFileSync('eslint.config.js', "import config from '@joelbot/eslint-config';\nexport default config;\n");
const remove = ['.eslintrc', '.eslintrc.js', '.eslintrc.json', '.eslintrc.yml', '.eslintrc.yaml'];
for (const file of remove) {
if (fs.existsSync(file)) {
Expand Down

0 comments on commit 1d1d514

Please sign in to comment.