1 | ;
|
2 | const path = require('path');
|
3 | const confusingBrowserGlobals = require('confusing-browser-globals');
|
4 |
|
5 | module.exports = {
|
6 | extends: path.join(__dirname, 'index.js'),
|
7 | env: {
|
8 | node: false,
|
9 | browser: true
|
10 | },
|
11 | rules: {
|
12 | 'no-restricted-globals': [
|
13 | 'error',
|
14 | ...confusingBrowserGlobals
|
15 | ]
|
16 | }
|
17 | };
|