Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/etherpad/node_modules/eslint-plugin-import/config/ |
/** * 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 }, }, };