tslint-config-sequr-backend
Version:
Sequr's TSLint config for backend services
30 lines (29 loc) • 761 B
JavaScript
module.exports = {
extends: 'tslint:recommended',
env: {
node: true,
es6: true,
},
rules: {
'variable-name': ["allow-snake-case"],
indent: [true, 'tabs', 2],
'object-literal-sort-keys': false,
quotemark: [true, 'single'],
'comment-format': false,
'only-arrow-functions': false,
'no-parameter-reassignment': false,
'space-before-function-paren': [true, 'never'],
'no-console': false,
'object-literal-key-quotes': [true, 'as-needed'],
'max-line-length': [
true, {
limit: 80,
'ignore-pattern': '^import |^export {(.*?)}|class [a-zA-Z] implements |//',
}
],
'no-trailing-whitespace': [true, 'ignore-blank-lines'],
'newline-before-return': true,
'linebreak-style': [true, 'LF'],
'ordered-imports': false
},
};