Skip to content

Instantly share code, notes, and snippets.

@pjsvis
Created November 20, 2016 15:12
Show Gist options
  • Save pjsvis/a88100053e6e0d6fd0327cc03031916c to your computer and use it in GitHub Desktop.
Save pjsvis/a88100053e6e0d6fd0327cc03031916c to your computer and use it in GitHub Desktop.
{
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
false, // For json we use double quotes
"single",
"avoid-escape"
],
"semicolon": [
true,
"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": [
true,
"ban-keywords"
],
"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