Files
angular__angular/aio/tools/transforms/.eslintrc.js
dario-piotrowicz 66c6dbdc79 refactor(docs-infra): introduce max-len 120 eslint rule (#43439)
add the max-len rule to the aio eslintrc and fix what code
breaks such rule

PR Close #43439
2021-09-15 10:47:35 -07:00

26 lines
485 B
JavaScript

module.exports = {
'root': true,
'env': {
'es6': true,
'jasmine': true,
'node': true
},
'extends': [
'eslint:recommended',
'plugin:jasmine/recommended'
],
'parserOptions': {
'ecmaVersion': 2020,
},
'plugins': [
'jasmine'
],
'rules': {
'linebreak-style': ['error', 'unix'],
'no-prototype-builtins': ['off'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'jasmine/new-line-before-expect': ['off'],
}
};