Skip to content

Instantly share code, notes, and snippets.

@tdreyno
Created January 6, 2017 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdreyno/ab288b32514e596f01b67023cf51b2fb to your computer and use it in GitHub Desktop.
Save tdreyno/ab288b32514e596f01b67023cf51b2fb to your computer and use it in GitHub Desktop.
{
"rules": {
"align": [true, "parameters", "statements"],
"arrow-parens": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"curly": true,
"eofline": true,
"indent": [
true,
"spaces"
],
"interface-name": [true, "always-prefix"],
"jsdoc-format": true,
"max-line-length": [false],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": [true],
"no-construct": true,
"no-debugger": true,
"no-default-export": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-inferrable-types": [true],
"no-internal-module": true,
"no-invalid-this": false,
"no-namespace": true,
"no-trailing-whitespace": true,
"no-shadowed-variable": true,
"no-unused-expression": true,
"no-unused-new": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-key-quotes": [true, "as-needed"],
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"quotemark": [
true,
"single",
"jsx-double"
],
"radix": true,
"semicolon": [
true,
"always"
],
"trailing-comma": [
true,
{
"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": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"no-unsafe-finally": true,
"prefer-const": true,
"array-type": [true, "generic"],
"adjacent-overload-signatures": true,
"cyclomatic-complexity": [false],
"label-position": true,
"new-parens": true,
"no-empty": true,
"no-magic-numbers": false,
"object-literal-shorthand": true,
"only-arrow-functions": [true, "allow-declarations"],
"use-isnan": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment