Request: built-in config for astro.config.mjs
jamesarosen opened this issue · 1 comments
jamesarosen commented
Description
This plugin defines great overrides for .astro
files! It would be nice if it did the same for other Astro-specific files like astro.config.mjs
.
Here's my first attempt:
{
files: ['astro.config.mjs'],
env: {
node: true,
'astro/astro': true, // I'm not sure about this
es2020: true,
},
parserOptions: {
sourceType: 'module',
},
},
ota-meshi commented
Thank you for posting the issue.
Since this plugin is focused on *.astro
files, I don't want to provide that.
You can publish your shareable configuration and provide it to people.