eight04 / webext-launch-web-auth-flow

Polyfill `launchWebAuthFlow` with popups
MIT License
5 stars 3 forks source link

Move eslint "webextensions" environment to .eslintrc.json #14

Closed lucasrmendonca closed 1 year ago

lucasrmendonca commented 1 year ago

Now, all environments are listed in the same place, for consistency

Before, ESLint environments weren't consistent across the lib: node and es6 were documented in .eslintrc.json, but webextensions was being used as a comment at the top of index.js.

eight04 commented 1 year ago

This is a bad change. Not all js files run in the same environment e.g. rollup.config.js.