persea/app/.eslint.defaults.js

28 lines
583 B
JavaScript
Raw Normal View History

2020-12-23 12:46:52 -06:00
const config = {
globals: {
__non_webpack_require__: 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': {
2021-01-22 15:43:53 -06:00
node: {},
2020-12-23 12:46:52 -06:00
webpack: {
config: `${__dirname}/webpack.config.js`,
},
},
},
};
module.exports = config;