Upgrade tslint rules

pull/1103/head
Chocobozzz 2018-09-21 09:26:02 +02:00
parent ae04a0ce12
commit f2659ae0b0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
6 changed files with 12 additions and 12 deletions

View File

@ -148,7 +148,7 @@
"terser-webpack-plugin": "^1.1.0", "terser-webpack-plugin": "^1.1.0",
"ts-jest": "^23.1.4", "ts-jest": "^23.1.4",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"tslint-config-standard": "^7.0.0", "tslint-config-standard": "^8.0.1",
"typescript": "2.9", "typescript": "2.9",
"video.js": "^7", "video.js": "^7",
"videojs-contextmenu-ui": "^5.0.0", "videojs-contextmenu-ui": "^5.0.0",

View File

@ -31,7 +31,7 @@
"contextual-life-cycle": true, "contextual-life-cycle": true,
"trackBy-function": false, "trackBy-function": false,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "my"], "pipe-prefix": [true, "my"],
"component-class-suffix": true, "component-class-suffix": true,
"directive-class-suffix": true, "directive-class-suffix": true,
"pipe-impure": true "pipe-impure": true

View File

@ -8236,9 +8236,9 @@ tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.9.0:
version "1.9.3" version "1.9.3"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
tslint-config-standard@^7.0.0: tslint-config-standard@^8.0.1:
version "7.1.0" version "8.0.1"
resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-7.1.0.tgz#6bcc435a179478e365f6cc62312a561221985760" resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz#e4dd3128e84b0e34b51990b68715a641f2b417e4"
dependencies: dependencies:
tslint-eslint-rules "^5.3.1" tslint-eslint-rules "^5.3.1"

View File

@ -197,7 +197,7 @@
"supertest": "^3.0.0", "supertest": "^3.0.0",
"ts-node": "7.0.1", "ts-node": "7.0.1",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"tslint-config-standard": "^7.0.0", "tslint-config-standard": "^8.0.1",
"typescript": "^2.5.2", "typescript": "^2.5.2",
"xliff": "^4.0.0" "xliff": "^4.0.0"
}, },

View File

@ -29,13 +29,13 @@ elif [ "$1" = "api-3" ]; then
npm run build:server npm run build:server
mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
elif [ "$1" = "lint" ]; then elif [ "$1" = "lint" ]; then
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
( cd client ( cd client
npm run lint npm run lint
) )
elif [ "$1" = "jest" ]; then elif [ "$1" = "jest" ]; then
( cd client ( cd client
npm run test npm run test
) )
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
fi fi

View File

@ -8416,9 +8416,9 @@ tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.9.3" version "1.9.3"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
tslint-config-standard@^7.0.0: tslint-config-standard@^8.0.1:
version "7.1.0" version "8.0.1"
resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-7.1.0.tgz#6bcc435a179478e365f6cc62312a561221985760" resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz#e4dd3128e84b0e34b51990b68715a641f2b417e4"
dependencies: dependencies:
tslint-eslint-rules "^5.3.1" tslint-eslint-rules "^5.3.1"