Yuki Takei 2 лет назад
Родитель
Сommit
30516c7197
2 измененных файлов с 5 добавлено и 2 удалено
  1. 4 2
      apps/slackbot-proxy/package.json
  2. 1 0
      apps/slackbot-proxy/tsconfig.json

+ 4 - 2
apps/slackbot-proxy/package.json

@@ -17,8 +17,10 @@
     "start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
     "start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
     "postbuild": "yarn cp:public && yarn cp:views && yarn cp:bootstrap",
     "postbuild": "yarn cp:public && yarn cp:views && yarn cp:bootstrap",
     "predev": "yarn cp:bootstrap:dev",
     "predev": "yarn cp:bootstrap:dev",
-    "lint": "yarn eslint src --ext .ts",
-    "lint:fix": "yarn eslint src --ext .ts --fix",
+    "lint:js": "yarn eslint src/**/*.{js,ts}",
+    "lint:styles": "stylelint --allow-empty-input src/**/*.scss src/**/*.css",
+    "lint:typecheck": "tsc",
+    "lint": "run-p lint:*",
     "version": "yarn version --no-git-tag-version --preid=slackbot-proxy"
     "version": "yarn version --no-git-tag-version --preid=slackbot-proxy"
   },
   },
   "// comments for dependencies": {
   "// comments for dependencies": {

+ 1 - 0
apps/slackbot-proxy/tsconfig.json

@@ -10,6 +10,7 @@
     },
     },
 
 
     /* TOOD: remove below flags for strict checking */
     /* TOOD: remove below flags for strict checking */
+    "strict": false,
     "noImplicitAny": false
     "noImplicitAny": false
   },
   },
   "include": [
   "include": [