latus/app/.eslint.defaults.js

27 lines
567 B
JavaScript
Raw Normal View History

2020-11-30 06:28:29 -06:00
const config = {
globals: {
__non_webpack_require__: true,
process: true,
2020-12-20 03:51:38 -06:00
window: true,
2020-11-30 06:28:29 -06:00
},
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',
},
2020-12-20 03:51:38 -06:00
settings: {
'import/resolver': {
webpack: {
config: `${__dirname}/webpack.config.js`,
},
},
},
2020-11-30 06:28:29 -06:00
};
module.exports = config;