Last active
August 12, 2019 08:54
-
-
Save lydemann/55b9538f036d08e7097dd49452d484bb to your computer and use it in GitHub Desktop.
TSlint with Prettier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": [ | |
"tslint:recommended", | |
"tslint-eslint-rules", | |
"tslint-config-prettier", | |
"tslint-jasmine-rules" | |
], | |
"rulesDirectory": [ | |
"node_modules/codelyzer" | |
], | |
"rules": { | |
"deprecation": { | |
"severity": "warn" | |
}, | |
"member-access": [true, "check-accessor"], | |
"member-ordering": [ | |
true, | |
{ | |
"order": "instance-sandwich" | |
} | |
], | |
"no-focused-tests": true, | |
"no-inferrable-types": [false, "ignore-params"], | |
"component-selector": [true, "element", "app", "kebab-case"], | |
"array-bracket-spacing": [true, "never"], | |
"object-curly-spacing": [true, "always"], | |
"max-classes-per-file": false, | |
"component-class-suffix": true, | |
"directive-class-suffix": true, | |
"directive-selector": [true, "attribute", "app", "camelCase"], | |
"import-destructuring-spacing": true, | |
"no-forward-ref": true, | |
"no-input-rename": true, | |
"no-output-on-prefix": true, | |
"no-output-rename": true, | |
"use-life-cycle-interface": true, | |
"use-pipe-transform-interface": true, | |
"no-non-null-assertion": true, | |
"no-switch-case-fall-through": true, | |
"no-empty": false, | |
"jsdoc-format": false, | |
"one-line": [true, "check-open-brace"], | |
"align": false, | |
"import-blacklist": [true, "rxjs/Rx"], | |
"interface-name": false, | |
"no-bitwise": true, | |
"no-conditional-assignment": true, | |
"no-console": true, | |
"no-empty-interface": false, | |
"no-string-literal": false, | |
"object-literal-sort-keys": false, | |
"only-arrow-functions": [true, "allow-named-functions"], | |
"ordered-imports": [ | |
true, | |
{ | |
"grouped-imports": true, | |
"groups": [{ | |
"name": "app", | |
"match": "^@app", | |
"order": 20 | |
}, | |
{ | |
"name": "shared-lib", | |
"match": "^@shared-lib", | |
"order": 20 | |
}, | |
{ | |
"name": "relative_paths", | |
"match": "^[.][.]?", | |
"order": 20 | |
}, | |
{ | |
"name": "scoped_paths", | |
"match": "^@", | |
"order": 10 | |
}, | |
{ | |
"name": "absolute_paths", | |
"match": "^[a-zA-Z]", | |
"order": 10 | |
}, | |
{ | |
"match": null, | |
"order": 10 | |
} | |
] | |
} | |
], | |
"prefer-for-of": true, | |
"prefer-object-spread": true, | |
"quotemark": [true, "single", "avoid-escape"], | |
"trailing-comma": [ | |
false, | |
{ | |
"multiline": "always", | |
"singleline": "never" | |
} | |
], | |
"variable-name": [ | |
true, | |
"allow-leading-underscore", | |
"allow-pascal-case", | |
"ban-keywords", | |
"check-format" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment