fix(tslint): fix #248 disable one-line rule and add property force to lint command (#439)

This commit is contained in:
ESadouski 2016-11-18 18:28:07 +03:00 committed by Dmitry Nehaychik
parent 8887516c44
commit 3516e404fa
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@
"server:prod": "http-server dist --cors", "server:prod": "http-server dist --cors",
"webdriver:update": "npm run webdriver-manager update", "webdriver:update": "npm run webdriver-manager update",
"webdriver:start": "npm run webdriver-manager start", "webdriver:start": "npm run webdriver-manager start",
"lint": "npm run tslint \"src/**/*.ts\"", "lint": "npm run tslint \"src/**/*.ts\" --force",
"pree2e": "npm run webdriver:update -- --standalone", "pree2e": "npm run webdriver:update -- --standalone",
"pretest": "npm run lint", "pretest": "npm run lint",
"docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' ./src/", "docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' ./src/",

View file

@ -99,7 +99,7 @@
"jsdoc-format": true, "jsdoc-format": true,
"no-consecutive-blank-lines": false, "no-consecutive-blank-lines": false,
"one-line": [ "one-line": [
true, false,
"check-open-brace", "check-open-brace",
"check-catch", "check-catch",
"check-else", "check-else",