Linter

Standard

Automatically generated by us-cli

.prettierrc

{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"arrowParens": "always"
}

Standard project

{
"extends": "tslint-config-standard-plus",
"rules": {
"trailing-comma": [true, { "multiline": "always", "singleline": "never" }],
"space-before-function-paren": [true, "never"],
"max-line-length": [true, 100],
}
}

Angular project

{
"extends": "tslint-config-standard-plus",
"rules": {
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warning"
},
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
"directive-selector": [
true,
"attribute",
["page", "component", "fragment", "layout"],
"camelCase"
],
"component-selector": [
true,
"element",
["page", "component", "fragment", "layout"],
"kebab-case"
],
"import-blacklist": [true, "rxjs/Rx"],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [true, 100],
"member-access": false,
"member-ordering": [
true,
{
"order": ["static-field", "instance-field", "static-method", "instance-method"]
}
],
"no-consecutive-blank-lines": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-empty": false,
"no-inferrable-types": [true, "ignore-params"],
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [true, "single"],
"trailing-comma": [true, { "multiline": "always", "singleline": "never" }],
"space-before-function-paren": [true, "never"],
"no-conflicting-lifecycle": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-output-native": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"template-banana-in-box": true,
"template-no-negated-async": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true
},
"rulesDirectory": ["codelyzer"]
}