blob: 9f57963b26b9c2f7d66a68603355b02790d39d10 [file] [log] [blame]
const js = require('@eslint/js');
const globals = require('globals');
module.exports = [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
PRODUCTION: 'readonly',
...globals.browser,
...globals.webextensions,
},
},
ignores: ['webpack.config.js'],
},
{
files: ['**/*.test.js', '**/*.test.mjs'],
globals: {
...globals.jest,
},
},
];