Skip to content

Commit

Permalink
fix(lint): added usage of tslint-config-valorsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Apr 7, 2016
1 parent d411cc8 commit cad6af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 89 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"source-map-loader": "0.1.5",
"systemjs-builder": "0.15.14",
"ts-loader": "0.8.1",
"tslint": "3.6.0",
"tslint-config-valorsoft": "0.0.3",
"typescript": "1.8.9",
"typings": "0.7.12",
"webpack": "1.12.14",
Expand Down
90 changes: 2 additions & 88 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,4 @@
{
"rulesDirectory": "./node_modules/codelyzer/dist/src",
"rules": {
"align": [true, "parameters", "statements"],
"ban": false,
"class-name": true,
"comment-format": [true, "check-space"],
"curly": true,
"eofline": true,
"forin": true,
"indent": [true, "spaces"],
"interface-name": [true, "never-prefix"],
"jsdoc-format": true,
"label-position": true,
"label-undefined": true,
"max-line-length": true,
"member-access": [true, "check-accessor", "check-constructor"],
"member-ordering": [
true, "public-before-private", "static-before-instance",
"variables-before-functions"
],
"no-any": false,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-console": true,
"no-construct": true,
"no-constructor-vars": true,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-inferrable-types": true,
"no-internal-module": true,
"no-null-keyword": true,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-unused-variable": [true, "check-parameters"],
"no-use-before-declare": true,
"no-var-keyword": true,
"no-var-requires": false,
"object-literal-sort-keys": false,
"one-line": [
true, "check-catch", "check-else", "check-open-brace", "check-whitespace"
],
"quotemark": [true, "single"],
"radix": true,
"semicolon": [true, "always"],
"switch-default": true,
"triple-equals": [true, "allow-null-check"],
"typedef": [
true, "call-signature", "parameter", "arrow-parameter",
"property-declaration", "member-variable-declaration"
],
"typedef-whitespace": [
true, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"use-strict": [true, "check-module"],
"variable-name": [true, "ban-keywords"],
"whitespace": [
false, "check-branch", "check-decl", "check-operator", "check-module",
"check-separator", "check-type", "check-typecast"
],
"directive-selector-name": [true, "camelCase"],
"component-selector-name": [true, "kebab-case"],
"directive-selector-type": [true, "attribute"],
"component-selector-type": [true, "element"],
"directive-selector-prefix": [false],
"component-selector-prefix": [false],
"host-parameter-decorator": true,
"input-parameter-decorator": true,
"output-parameter-decorator": true,
"attribute-parameter-decorator": true,
"input-property-directive": true,
"output-property-directive": true,
"call-forward-ref": true
}
"extends": "./node_modules/tslint-config-valorsoft/tslint.json",
"rulesDirectory": "./node_modules/codelyzer/dist/src"
}

0 comments on commit cad6af3

Please sign in to comment.