Closed desandro closed 2 years ago
"globals": { "__DEV__": false, "alert": false, "describe": false, "document": false, "it": false, "expect": false, "navigator": false, "FormData": false, "window": false }
__DEV__
alert
document
window
navigator
env: { browser: true }
describe
it
expect
FormData
I recommend removing all these and adding env: { browser: true }. 95% of our repos are browser projects, so this feels like the right choice.
Agreed: kill them all and add back individually as necessary on a case by case basis
__DEV__
- not in 11ty bootstrapalert
,document
,window
,navigator
- addenv: { browser: true }
insteaddescribe
,it
,expect
- these are testing globals. These should be added per project, when we do have testingFormData
- looks like leftover from an integrationI recommend removing all these and adding
env: { browser: true }
. 95% of our repos are browser projects, so this feels like the right choice.