/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
eslint-plugin-import
/
config
/
flat
/
/home/techb158/balavpn.abdallabala.com/node_modules/eslint-plugin-import/config/flat
mkdir
upload
Name
Size
Mode
Actions
errors.js
293
0666
edit
dl
rm
react.js
475
0666
edit
dl
rm
recommended.js
602
0666
edit
dl
rm
warnings.js
204
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/eslint-plugin-import/config/flat/recommended.js
(602B)
/** * The basics. * @type {Object} */ module.exports = { rules: { // analysis/correctness 'import/no-unresolved': 'error', 'import/named': 'error', 'import/namespace': 'error', 'import/default': 'error', 'import/export': 'error', // red flags (thus, warnings) 'import/no-named-as-default': 'warn', 'import/no-named-as-default-member': 'warn', 'import/no-duplicates': 'warn', }, // need all these for parsing dependencies (even if _your_ code doesn't need // all of them) languageOptions: { ecmaVersion: 2018, sourceType: 'module', }, };
Save
cmd:
run