Skip to content

Instantly share code, notes, and snippets.

@Edward-Lombe
Created May 2, 2016 05:40
Show Gist options
  • Save Edward-Lombe/92b0a143707f38c336f701dfbbc05c6e to your computer and use it in GitHub Desktop.
Save Edward-Lombe/92b0a143707f38c336f701dfbbc05c6e to your computer and use it in GitHub Desktop.
{
"rulesDirectory": "./node_modules/tslint-eslint-rules/dist/rules",
"rules": {
"align": [
true,
"parameters",
"arguments",
"statements"
],
"max-line-length": [
true, 80
],
"curly": true,
"eofline": true,
"class-name": true,
"comment-format": [
true,
"check-space",
"check-uppercase"
],
"indent": [
true,
"spaces"
],
"interface-name": [
true, "always-prefix"
],
"no-consecutive-blank-lines": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-empty": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"quotemark": [
true,
"single"
],
"semicolon": [
true
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"jsdoc-format": true,
"use-strict": [true, "check-module"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment