23 lines
453 B
JavaScript
23 lines
453 B
JavaScript
const config = {
|
|
globals: {
|
|
process: true,
|
|
window: true,
|
|
},
|
|
ignorePatterns: [
|
|
'/*',
|
|
'!/src',
|
|
],
|
|
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',
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|