Upgrade tslint rules
authorChocobozzz <me@florianbigard.com>
Fri, 21 Sep 2018 07:26:02 +0000 (09:26 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 21 Sep 2018 07:26:53 +0000 (09:26 +0200)
client/package.json
client/tslint.json
client/yarn.lock
package.json
scripts/travis.sh
yarn.lock

index e050b8d48a8ffce00d481a0855c27d14449bce1c..23ce8ce8100a431452378f0e823b9712bdc33c47 100644 (file)
     "terser-webpack-plugin": "^1.1.0",
     "ts-jest": "^23.1.4",
     "tslint": "^5.7.0",
-    "tslint-config-standard": "^7.0.0",
+    "tslint-config-standard": "^8.0.1",
     "typescript": "2.9",
     "video.js": "^7",
     "videojs-contextmenu-ui": "^5.0.0",
index db852d9f8d37fbf247ded51ca4b5c0436100b4ea..e997088fdaa7822e4ae054812c5e0d24d53aae03 100644 (file)
@@ -31,7 +31,7 @@
     "contextual-life-cycle": true,
     "trackBy-function": false,
     "use-pipe-transform-interface": true,
-    "pipe-naming": [true, "camelCase", "my"],
+    "pipe-prefix": [true, "my"],
     "component-class-suffix": true,
     "directive-class-suffix": true,
     "pipe-impure": true
index d868c71af4cc75e53e61001786f5bffb0530e1c1..cbd06d57fe8d1e7e8b5b43abafdd2c5d89b8e54c 100644 (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"
   resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
 
-tslint-config-standard@^7.0.0:
-  version "7.1.0"
-  resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-7.1.0.tgz#6bcc435a179478e365f6cc62312a561221985760"
+tslint-config-standard@^8.0.1:
+  version "8.0.1"
+  resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz#e4dd3128e84b0e34b51990b68715a641f2b417e4"
   dependencies:
     tslint-eslint-rules "^5.3.1"
 
index 2d5258fa0d5e6803a90e272eef92697b1f28367c..0212dfeed85f23997ed2c98996b3391e48740e6a 100644 (file)
     "supertest": "^3.0.0",
     "ts-node": "7.0.1",
     "tslint": "^5.7.0",
-    "tslint-config-standard": "^7.0.0",
+    "tslint-config-standard": "^8.0.1",
     "typescript": "^2.5.2",
     "xliff": "^4.0.0"
   },
index 1d7ebf3403d890115aaeb22e91806a70108a459e..f9fd195125f6f9a9da710c12842a2cd9e2d4bc18 100755 (executable)
@@ -29,13 +29,13 @@ elif [ "$1" = "api-3" ]; then
     npm run build:server
     mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
 elif [ "$1" = "lint" ]; then
+    npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
+
     ( cd client
       npm run lint
     )
-elif [ "$1" = "jest" ]; then 
+elif [ "$1" = "jest" ]; then
     ( cd client
       npm run test
     )
-
-    npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
 fi
index b63d76c3255cc8749c109e967013c814d7938f42..5a67caf257157f7a8a8cf38e8d9560a21f5d273e 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
@@ -8416,9 +8416,9 @@ tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
   version "1.9.3"
   resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
 
-tslint-config-standard@^7.0.0:
-  version "7.1.0"
-  resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-7.1.0.tgz#6bcc435a179478e365f6cc62312a561221985760"
+tslint-config-standard@^8.0.1:
+  version "8.0.1"
+  resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz#e4dd3128e84b0e34b51990b68715a641f2b417e4"
   dependencies:
     tslint-eslint-rules "^5.3.1"