24 lines
505 B
JavaScript
24 lines
505 B
JavaScript
const config = {
|
|
globals: {
|
|
process: true,
|
|
window: true,
|
|
},
|
|
ignorePatterns: [
|
|
'/*',
|
|
'!/src',
|
|
],
|
|
rules: {
|
|
'babel/object-curly-spacing': 'off',
|
|
'brace-style': ['error', 'stroustrup'],
|
|
'jsx-a11y/label-has-associated-control': 'off',
|
|
'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;
|