-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Closed
Description
Hello there. I'm trying to update to v15 of airbnb base. However, upon doing so all of our imports are throwing
Cannot use import declarations in modules that export using CommonJS (module.exports = 'foo' or exports.bar = 'hi') import/no-import-module-exports
I haven't found anything about what is wrong in my code. If I could get some insight into what I'm doing wrong that would be greatly appreciated. Here is some info.
.eslintrc.json
{
"env": {
"es2021": true,
"node": true
},
"extends": ["airbnb-base", "prettier"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"no-console": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off"
}
}
Eslint version ^8.2.0
Metadata
Metadata
Assignees
Labels
No labels