mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Ensure ESLint treats modules as CJS not ESM
This commit is contained in:
parent
c6dc376134
commit
1135192546
@ -12,6 +12,9 @@ module.exports = {
|
||||
"react/require-extension": "off",
|
||||
"import/no-extraneous-dependencies": "off"
|
||||
},
|
||||
"parserOptions": {
|
||||
"sourceType": "script", // Override ESM implied by airbnb
|
||||
},
|
||||
"env": {
|
||||
"mocha": true,
|
||||
"jest": true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user