Ensure ESLint treats modules as CJS not ESM

This commit is contained in:
Mariusz Nowak 2019-05-29 13:22:38 +02:00
parent c6dc376134
commit 1135192546
No known key found for this signature in database
GPG Key ID: B1FBDA8A182B03F2

View File

@ -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