Skip to content

Commit

Permalink
Adjust tslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsn committed Feb 24, 2017
1 parent aa9c213 commit e693da7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 57 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"watch:test": "webpack --watch --config scripts/webpack.config.test.js",
"example": "npm run build:ts && webpack-dev-server --inline --hot --no-info --config scripts/webpack.config.example.js",
"testem": "testem",
"lint": "tslint \"src/**/*.ts\" && tslint \"test/**/*.ts\"",
"lint": "tslint \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "tslint --fix \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "run-p watch:test testem",
"test:ci": "webpack --config scripts/webpack.config.test.js && testem ci --launch PhantomJS"
},
Expand All @@ -55,6 +56,7 @@
"testem": "^1.15.0",
"ts-loader": "^2.0.1",
"tslint": "^4.4.2",
"tslint-config-ktsn": "^2.0.1",
"typescript": "^2.2.1",
"vue": "^2.1.10",
"vue-loader": "^11.1.2",
Expand Down
57 changes: 1 addition & 56 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,3 @@
{
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"forin": true,
"indent": [
true,
"spaces"
],
"jsdoc-format": true,
"label-position": true,
"label-undefined": true,
"member-ordering": true,
"no-arg": true,
"no-console": true,
"no-construct": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"quotemark": [
true,
"single",
"jsx-double"
],
"semicolon": [
true,
"never"
],
"trailing-comma": [
true,
{
"singleline": "never",
"multiline": "never"
}
],
"typedef-whitespace": [
true,
"onespace"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type"
]
}
"extends": "tslint-config-ktsn"
}

0 comments on commit e693da7

Please sign in to comment.