Skip to content

Instantly share code, notes, and snippets.

@dalgard
Created August 29, 2017 21:34
Show Gist options
  • Save dalgard/c88511946e0abdf5882e191dd42b46c0 to your computer and use it in GitHub Desktop.
Save dalgard/c88511946e0abdf5882e191dd42b46c0 to your computer and use it in GitHub Desktop.
{
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"eofline": true,
"forin": true,
"indent": [
true,
"spaces"
],
"interface-name": [
true,
"always-prefix"
],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-reference": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"one-variable-per-declaration": [
true,
"ignore-for-loop"
],
"quotemark": [
true,
"double",
"jsx-double",
"avoid-escape"
],
"semicolon": [
true,
"always"
],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"use-isnan": true,
"variable-name": [
true,
"check-format",
"allow-pascal-case",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment