Skip to content

Instantly share code, notes, and snippets.

@daemon3000
Last active October 31, 2019 15:40
Show Gist options
  • Save daemon3000/fdbecc75731730c7421b7a3864b47c4f to your computer and use it in GitHub Desktop.
Save daemon3000/fdbecc75731730c7421b7a3864b47c4f to your computer and use it in GitHub Desktop.
{
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-space"],
"component-class-suffix": true,
"component-selector": [true, "element", "kebab-case"],
"curly": true,
"deprecation": { "severity": "warn" },
"directive-class-suffix": true,
"eofline": true,
"forin": true,
"import-blacklist": [true, "rxjs/Rx"],
"import-spacing": true,
"indent": [true, "tabs", 4],
"interface-over-type-literal": true,
"label-position": true,
"max-line-length": [false, 140],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-arg": true,
"no-bitwise": true,
"no-console": [true, "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-host-metadata-property": true,
"no-inferrable-types": false,
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-misused-new": true,
"no-non-null-assertion": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": false,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": false,
"prefer-const": true,
"quotemark": [true, "single"],
"radix": true,
"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"
}
],
"unified-signatures": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"variable-name": false,
"whitespace": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment