-
-
Save Psvensso/2cb0749f0f4ce97ca125e67df31016ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"rulesDirectory": ["./node_modules/tslint-microsoft-contrib"], | |
"extends": "tslint-microsoft-contrib/tslint.json", | |
"rules": { | |
/** | |
* Security Rules. The following rules should be turned on because they find security issues | |
* or are recommended in the Microsoft Secure Development Lifecycle (SDL) | |
*/ | |
"no-reserved-keywords": false, | |
/** | |
* Common Bugs and Correctness. The following rules should be turned on because they find | |
* common bug patterns in the code or enforce type safety. | |
*/ | |
"no-for-in-array": false, | |
"restrict-plus-operands": false, | |
/** | |
* Code Clarity. The following rules should be turned on because they make the code | |
* generally more clear to the reader. | |
*/ | |
"export-name": false, | |
"max-line-length": [true, 200], | |
"missing-jsdoc": false, | |
"no-default-export": false, | |
"no-relative-imports": false, | |
"no-require-imports": false, | |
"no-import-side-effect": false, | |
"no-var-requires": false, | |
"react-tsx-curly-spacing": [true, "always", {"allowMultiline": true}], | |
"no-backbone-get-set-outside-model": false, | |
"typedef": [false], | |
/** | |
* Accessibility. The following rules should be turned on to guarantee the best user | |
* experience for keyboard and screen reader users. | |
*/ | |
/** | |
* Whitespace related rules. The only recommended whitespace strategy is to pick a single format and | |
* be consistent. | |
*/ | |
"linebreak-style": [false, "CRLF"], | |
"trailing-comma": [true, {"singleline": "never", "multiline": "always"}], | |
/** | |
* Controversial/Configurable rules. | |
*/ | |
/** | |
* Depricated rules. | |
*/ | |
"no-unused-variable": false | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment