28 lines
584 B
JavaScript
28 lines
584 B
JavaScript
const config = {
|
|
globals: {
|
|
__non_webpack_require__: true,
|
|
Event: true,
|
|
process: true,
|
|
window: true,
|
|
},
|
|
rules: {
|
|
'babel/object-curly-spacing': 'off',
|
|
'brace-style': ['error', 'stroustrup'],
|
|
'no-bitwise': ['error', {int32Hint: true}],
|
|
'no-plusplus': 'off',
|
|
'no-shadow': 'off',
|
|
'no-underscore-dangle': 'off',
|
|
'padded-blocks': ['error', {classes: 'always'}],
|
|
yoda: 'off',
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
webpack: {
|
|
config: `${__dirname}/webpack.config.js`,
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|