Skip to content

Commit

Permalink
chore: deps update
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Sep 16, 2022
1 parent 85472c9 commit 58b8a56
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
15 changes: 11 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"requireConfigFile": false,
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
Expand Down Expand Up @@ -77,16 +78,22 @@ module.exports = {
// vue https://github.com/vuejs/eslint-plugin-vue
"vue/html-indent": ["warn", "tab"],
"vue/max-attributes-per-line": ["warn", {
"singleline": 4, // 一行最多四个
"singleline": {
"max": 4
},
"multiline": {
"max": 1,
"allowFirstLine": false
"max": 1
}
}],
"vue/require-default-prop": 0, // 可以不传递props
"vue/name-property-casing": ["warn", "kebab-case"],
"vue/name-property-casing": 0,
"vue/component-definition-name-casing": ["warn", "kebab-case"],
"vue/no-v-html": 0,

"vue/multi-word-component-names": 0,

"import/no-import-module-exports": 0,

// ts
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/explicit-function-return-type": 0,
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"@vitejs/plugin-vue": "^2.2.0",
"@vitejs/plugin-vue-jsx": "^1.3.5",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"@wya/http": "^1.5.1",
"@wya/sass": "^1.2.0",
"@wya/utils": "^1.6.5",
Expand All @@ -50,14 +50,14 @@
"cssnano": "^5.0.17",
"echarts": "^5.3.0",
"ejs": "^3.1.6",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint": "^8.23.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^36.0.7",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-vue": "^7.16.0",
"eslint-watch": "^7.0.0",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-vue": "^9.4.0",
"eslint-watch": "^8.0.0",
"fs-extra": "^10.0.0",
"html2canvas": "^1.4.1",
"husky": "^4.3.8",
Expand All @@ -81,8 +81,8 @@
"stylelint-order": "^4.1.0",
"typescript": "^4.5.2",
"upath": "^2.0.1",
"vite": "^2.8.1",
"vue": "^3.2.31"
"vite": "^3.1.1",
"vue": "^3.2.39"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 58b8a56

Please sign in to comment.