18 lines
312 B
JavaScript
18 lines
312 B
JavaScript
'use strict';
|
|
const path = require('path');
|
|
const confusingBrowserGlobals = require('confusing-browser-globals');
|
|
|
|
module.exports = {
|
|
extends: path.join(__dirname, 'index.js'),
|
|
env: {
|
|
node: false,
|
|
browser: true
|
|
},
|
|
rules: {
|
|
'no-restricted-globals': [
|
|
'error',
|
|
...confusingBrowserGlobals
|
|
]
|
|
}
|
|
};
|