Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

Commit 2230ec0

Browse files
committed
➕ Use eslint-config-posva
1 parent 92260d8 commit 2230ec0

File tree

3 files changed

+398
-263
lines changed

3 files changed

+398
-263
lines changed

.eslintrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
module.exports = {
22
root: true,
3-
parser: 'babel-eslint',
4-
parserOptions: {
5-
sourceType: 'module',
6-
},
73
globals: {
84
HTMLElement: true,
95
},
10-
extends: 'vue',
6+
extends: 'posva',
117
// add your custom rules here
128
'rules': {
139
// allow async-await

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
"cross-env": "^5.0.1",
5454
"css-loader": "^0.28.4",
5555
"eslint": "^4.2.0",
56-
"eslint-config-vue": "^2.0.2",
57-
"eslint-plugin-vue": "^2.1.0",
56+
"eslint-config-posva": "^1.2.0",
5857
"extract-text-webpack-plugin": "^3.0.0",
5958
"function-bind": "^1.1.0",
6059
"html-webpack-plugin": "^2.29.0",

0 commit comments

Comments
 (0)