Skip to content

Commit 9e88779

Browse files
committed
chore: updates lint and formating
1 parent 06c7546 commit 9e88779

File tree

3 files changed

+322
-245
lines changed

3 files changed

+322
-245
lines changed

.eslintrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ module.exports = {
1212
jest: true
1313
},
1414
extends: [
15-
'plugin:vue-libs/recommended',
1615
'plugin:@typescript-eslint/recommended',
1716
'plugin:@typescript-eslint/eslint-recommended',
1817
'plugin:prettier/recommended',
1918
'prettier'
2019
],
2120
plugins: ['@typescript-eslint'],
22-
parser: 'vue-eslint-parser',
2321
parserOptions: {
2422
parser: '@typescript-eslint/parser',
2523
sourceType: 'module'

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@
3535
"@secretlint/secretlint-rule-preset-recommend": "^3.3.0",
3636
"@types/jest": "^26.0.24",
3737
"@types/node": "^16.4.13",
38-
"@typescript-eslint/eslint-plugin": "^5.0.0",
39-
"@typescript-eslint/parser": "^5.0.0",
38+
"@typescript-eslint/eslint-plugin": "^5.46.1",
39+
"@typescript-eslint/parser": "^5.46.1",
4040
"@vue/compiler-sfc": "^3.1.5",
4141
"@vue/compiler-ssr": "^3.1.5",
4242
"@vue/runtime-dom": "^3.1.5",
4343
"@vue/server-renderer": "^3.1.5",
4444
"api-docs-gen": "^0.4.0",
4545
"babel-loader": "^8.2.0",
46-
"eslint": "^7.32.0",
47-
"eslint-config-prettier": "^8.3.0",
48-
"eslint-plugin-prettier": "^3.4.0",
49-
"eslint-plugin-vue-libs": "^4.0.0",
46+
"eslint": "^8.30.0",
47+
"eslint-config-prettier": "^8.5.0",
48+
"eslint-plugin-prettier": "^4.2.1",
5049
"jest": "^27.0.6",
5150
"jest-puppeteer": "^6.0.0",
5251
"jest-watch-typeahead": "^1.0.0",
5352
"lint-staged": "^11.0.0",
5453
"npm-run-all": "^4.1.5",
5554
"opener": "^1.5.2",
55+
"prettier": "^2.8.1",
5656
"puppeteer": "^12.0.0",
5757
"secretlint": "^3.3.0",
5858
"shipjs": "^0.24.0",
@@ -119,7 +119,7 @@
119119
"coverage": "opener coverage/lcov-report/index.html",
120120
"example": "webpack serve --config example/webpack.config.js --inline --hot",
121121
"fix": "npm-run-all --parallel lint:eslint:fix format:fix",
122-
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
122+
"format": "prettier --config .prettierrc --ignore-path .prettierignore --list-different '**/*.{js,json,html}'",
123123
"format:fix": "yarn format --write",
124124
"lint": "npm-run-all --parallel lint:eslint lint:secret",
125125
"lint:eslint": "eslint ./src ./test --ext .ts",

0 commit comments

Comments
 (0)