Last active
May 14, 2019 09:54
-
-
Save andrewborisov/b985d77294c219dbe82e11db8aa5e01f to your computer and use it in GitHub Desktop.
creating-ts-lint-rule project
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", | |
"rulesDirectory": ["custom-ts-rules"], | |
"linterOption": { | |
"exclude": [ | |
"src/*.js", | |
"src/*.js.map" | |
] | |
}, | |
"rules": { | |
"max-line-length": [true, 120], | |
"triple-equals": true, | |
"linebreak-style": [true, "LF"], | |
"semicolon": true, | |
"ordered-imports": false, | |
"quotemark": [true, "single"], | |
"no-trailing-whitespace": true, | |
"object-literal-sort-keys": false, | |
"max-classes-per-file": [false], | |
"module-imports-order": [true, [ | |
"node_modules", "@/utils/", "@/modules/", "@/components/", "dot-notation", "extensions" | |
]] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment