Skip to content

Instantly share code, notes, and snippets.

@benjamincharity
Created November 23, 2017 07:40
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 benjamincharity/82625a9eeb1b84ca30abba3f6c5cc701 to your computer and use it in GitHub Desktop.
Save benjamincharity/82625a9eeb1b84ca30abba3f6c5cc701 to your computer and use it in GitHub Desktop.
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"angular-whitespace": [
true,
"check-interpolation"
],
"arrow-parens": true,
"arrow-return-shorthand": true,
"banana-in-box": true,
"binary-expression-operand-order": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"component-class-suffix": true,
"component-selector": [
true,
"element",
"ts",
"kebab-case"
],
"curly": true,
"directive-class-suffix": true,
"directive-selector": [
true,
"attribute",
"ts",
"camelCase"
],
"eofline": true,
"forin": true,
"import-blacklist": [
true,
"rxjs"
],
"import-spacing": true,
"indent": [
true,
"spaces"
],
"interface-over-type-literal": true,
"invoke-injectable": true,
"jsdoc-format": [
true,
"check-multiline-start"
],
"label-position": true,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
true,
"static-before-instance",
"variables-before-functions"
],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-attribute-parameter-decorator": true,
"no-bitwise": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": [
true,
4
],
"no-console": [
false,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [
true,
"ignore-params",
"ignore-properties"
],
"no-input-rename": true,
"no-irregular-whitespace": true,
"no-misused-new": true,
"no-non-null-assertion": true,
"no-output-rename": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unused-css": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"one-variable-per-declaration": [
true,
"ignore-for-loop"
],
"pipe-impure": true,
"prefer-const": true,
"quotemark": [
true,
"single",
"avoid-escape"
],
"radix": true,
"semicolon": [
"always"
],
"space-before-function-paren": [
true,
"never"
],
"space-within-parens": [
true,
0
],
"template-to-ng-template": true,
"templates-no-negated-async": true,
"templates-use-public": true,
"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"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"typeof-compare": true,
"type-literal-delimiter": true,
"unified-signatures": true,
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-life-cycle-interface": true,
"use-output-property-decorator": true,
"use-pipe-decorator": true,
"use-pipe-transform-interface": true,
"variable-name": [
true,
"ban-keywords",
"check-format"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-rest-spread",
"check-separator",
"check-type",
"check-preblock"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment