Skip to content

Instantly share code, notes, and snippets.

@jonahglover
Created May 10, 2017 21:46
Show Gist options
  • Save jonahglover/42abe8a53f2b46ca73d811b4194f80c7 to your computer and use it in GitHub Desktop.
Save jonahglover/42abe8a53f2b46ca73d811b4194f80c7 to your computer and use it in GitHub Desktop.
{
“rules”: {
“class-name”: true,
“comment-format”: [
true,
“check-space”
],
“curly”: true,
“eofline”: true,
“forin”: true,
“indent”: [
true,
“spaces”
],
“label-position”: true,
“max-line-length”: [
true,
170
],
“member-access”: true,
“member-ordering”: [
true,
{
“order”: [
“static-field”,
“instance-field”,
“constructor”,
“public-instance-method”,
“protected-instance-method”,
“private-instance-method”
]
}
],
“no-arg”: true,
“no-bitwise”: true,
“no-console”: [
true,
“debug”,
“info”,
“time”,
“timeEnd”,
“trace”
],
“no-construct”: true,
“no-debugger”: true,
“no-duplicate-variable”: true,
“no-empty”: true,
“no-eval”: true,
“no-inferrable-types”: [
true
],
“no-shadowed-variable”: true,
“no-string-literal”: true,
“no-switch-case-fall-through”: true,
“no-trailing-whitespace”: true,
“no-unused-expression”: true,
“no-unused-variable”: true,
“no-use-before-declare”: true,
“no-var-keyword”: true,
“object-literal-sort-keys”: false,
“one-line”: [
true,
“check-open-brace”,
“check-catch”,
“check-else”,
“check-finally”,
“check-whitespace”
],
“quotemark”: [
true,
“single”,
“avoid-escape”
],
“radix”: true,
“semicolon”: [
true,
“always”
],
“trailing-comma”: [
true,
{
“singleline”: “never”,
“multiline”: “always”
}
],
“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”: false,
“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