Files
NapCatQQ/.pnpm-store/v3/files/40/e405296cc0809171a9a44a1019e42ecf322ea6fb0934b8c1778cf5a7d35569be14f6026cbe8e3dd2800f1ac2c3a06d70f57ee82a563b3407d382b36cf4974f
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
475 B
Plaintext

/**
* 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', '.mjs', '.cjs'],
},
languageOptions: {
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
};