angular-docs-cn/aio/tools/transforms/.eslintrc.js

25 lines
469 B
JavaScript

module.exports = {
'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'],
}
};