23 lines
432 B
JavaScript
23 lines
432 B
JavaScript
|
module.exports = {
|
||
|
extends: [
|
||
|
'eslint:recommended',
|
||
|
'plugin:jasmine/recommended',
|
||
|
],
|
||
|
env: {
|
||
|
es2020: true,
|
||
|
jasmine: true,
|
||
|
node: true,
|
||
|
},
|
||
|
plugins: [
|
||
|
'jasmine',
|
||
|
],
|
||
|
rules: {
|
||
|
'indent': ['error', 2],
|
||
|
'linebreak-style': ['error', 'unix'],
|
||
|
'max-len': ['error', 120],
|
||
|
'quotes': ['error', 'single'],
|
||
|
'semi': ['error', 'always'],
|
||
|
'jasmine/new-line-before-expect': ['off'],
|
||
|
},
|
||
|
};
|