backend/.eslintrc.js
Fred Boniface d879d544fe eslint fixes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-07 11:46:41 +01:00

38 lines
510 B
JavaScript

module.exports = {
'env': {
'browser': true,
'commonjs': true,
'es2021': true
},
'extends': 'eslint:recommended',
'overrides': [
],
'parserOptions': {
'ecmaVersion': 'latest'
},
'rules': {
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
],
'max-len': [
'warn',
{
'code': 80
}
]
}
};