astro-ghostcms/.pnpm-store/v3/files/bc/250ff351e127ef197a3f37bcb36...

19 lines
415 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
/**
* Adds `.jsx` as an extension, and enables JSX parsing.
*
* Even if _you_ aren't using JSX (or .jsx) directly, if your dependencies
* define jsnext:main and have JSX internally, you may run into problems
* if you don't enable these settings at the top level.
*/
module.exports = {
settings: {
'import/extensions': ['.js', '.jsx'],
},
parserOptions: {
ecmaFeatures: { jsx: true },
},
};