George Kalpakas a623bf4e70 build(docs-infra): enable linting for ng-packages-installer scripts (#41429)
This commit enables linting for the scripts in
`aio/tools/ng-packages-installer/`. It also makes the necessary changes
to the files to make linting pass.

PR Close #41429
2021-04-06 10:22:53 -07:00

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'],
},
};