{
"extends": "tslint:latest",
"env": {
"browser": true
},
"globals": {
"angular": 1,
"moment": 1
},
"rules": {
"align": [true, "parameters"],
"array-type": [true, "array"],
"curly": false,
"eofline": false,
"indent": [true, "tabs"],
"interface-name": [true, "always-prefix"],
"linebreak-style": [false],
"max-line-length": [false],
"member-access": [true, "check-accessor"],
"member-ordering": [false],
"no-angle-bracket-type-assertion": false,
"no-any": true,
"no-arg": true,
"no-consecutive-blank-lines": [true],
"no-console": [true],
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-namespace": true,
"no-reference": true,
"no-string-literal": false,
"no-trailing-whitespace": false,
"no-unused-expression": true,
"no-unused-new": true,
"no-var-keyword": true,
"no-var-requires": false, // mandatory to allow webpack to grab HTML, CSS, LESS files
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"one-line": [true, "check-whitespace"],
"one-variable-per-declaration": [false],
"only-arrow-functions": [true],
"ordered-imports": [false],
"prefer-const": false,
"quotemark": [true, "single"],
"space-before-function-paren": ["error", {"anonymous": "always" }],
"switch-default": false,
"trailing-comma": [false],
"triple-equals": [false],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"]
},
"jsRules": {
"align": [true, "parameters"],
"array-type": [true, "array"],
"curly": false,
"eofline": false,
"indent": [true, "tabs"],
"interface-name": [true, "always-prefix"],
"linebreak-style": [false],
"max-line-length": [false],
"member-access": [true, "check-accessor"],
"member-ordering": [false],
"no-any": true,
"no-arg": true,
"no-consecutive-blank-lines": [true],
"no-console": [true],
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-namespace": true,
"no-reference": true,
"no-string-literal": false,
"no-trailing-whitespace": false,
"no-unused-expression": true,
"no-unused-new": true,
"no-var-keyword": false,
"no-var-requires": true,
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"one-line": [true, "check-whitespace"],
"one-variable-per-declaration": [false],
"only-arrow-functions": [false],
"ordered-imports": [false],
"quotemark": [true, "single"],
"switch-default": false,
"trailing-comma": [false],
"triple-equals": [false],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"]
}
}
|