reddichat/app/.eslint.defaults.js

28 lines
584 B
JavaScript
Raw Normal View History

2020-12-07 03:24:45 -06:00
const config = {
globals: {
__non_webpack_require__: true,
2020-12-09 04:44:56 -06:00
Event: true,
2020-12-07 03:24:45 -06:00
process: true,
2020-12-08 02:24:47 -06:00
window: true,
2020-12-07 03:24:45 -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-07 05:48:17 -06:00
settings: {
'import/resolver': {
webpack: {
config: `${__dirname}/webpack.config.js`,
},
},
},
2020-12-07 03:24:45 -06:00
};
module.exports = config;