chore: add tslint (#37)

* chore: tslint

* chore: workflow lint

Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
This commit is contained in:
xrk
2020-07-19 14:47:24 +08:00
committed by GitHub
parent 6b0b7534a4
commit ee0d544c24
10 changed files with 321 additions and 106 deletions

View File

@@ -13,7 +13,7 @@
"scripts": {
"dev": "npm run build && webpack-dev-server",
"build": "tsc",
"lint": "eslint --ext .js src",
"lint": "eslint 'src/*.ts'",
"test": "npm run build && jest --coverage"
},
"bugs": {
@@ -27,6 +27,7 @@
"@ant-design-vue/babel-helper-vue-transform-on": "^1.0.0",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.0.0",
"@babel/traverse": "^7.0.0",
"@babel/types": "^7.0.0",
"camelcase": "^6.0.0",
"html-tags": "^3.1.0",
@@ -37,6 +38,8 @@
"@babel/preset-env": "^7.0.0",
"@rollup/plugin-babel": "^5.0.3",
"@types/svg-tags": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"@vue/compiler-dom": "3.0.0-rc.1",
"@vue/test-utils": "2.0.0-beta.0",
"babel-jest": "^26.0.1",