Skip to content

Commit 4a09246

Browse files
committed
workflow: upgrade eslint-plugin-vue-libs
1 parent 7bfb8a6 commit 4a09246

File tree

3 files changed

+138
-47
lines changed

3 files changed

+138
-47
lines changed

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module.exports = {
22
root: true,
3-
extends: ['plugin:vue-libs/recommended'],
3+
extends: [
4+
'plugin:vue-libs/recommended'
5+
],
46
rules: {
57
indent: ['error', 2, { MemberExpression: 'off' }]
68
}

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"dev": "node bin/vuepress dev docs",
1111
"build": "node bin/vuepress build docs",
12-
"lint": "eslint bin lib test",
12+
"lint": "eslint --fix --ext .js,.vue bin/ lib/ test/",
1313
"prepublishOnly": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"
1414
},
1515
"repository": {
@@ -31,11 +31,7 @@
3131
"pre-commit": "lint-staged"
3232
},
3333
"lint-staged": {
34-
"lib/**/*.js": [
35-
"eslint --fix",
36-
"git add"
37-
],
38-
"test/**/*.js": [
34+
"*.{js,vue}": [
3935
"eslint --fix",
4036
"git add"
4137
]
@@ -98,7 +94,7 @@
9894
"devDependencies": {
9995
"conventional-changelog": "^1.1.23",
10096
"eslint": "^4.19.1",
101-
"eslint-plugin-vue-libs": "^2.1.0",
97+
"eslint-plugin-vue-libs": "^3.0.0",
10298
"lint-staged": "^7.0.4",
10399
"vuepress-theme-vue": "^1.0.0",
104100
"yorkie": "^1.0.3"

yarn.lock

Lines changed: 132 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,42 @@
22
# yarn lockfile v1
33

44

5-
"@babel/code-frame@^7.0.0-beta.35":
5+
"@babel/code-frame@7.0.0-beta.44", "@babel/code-frame@^7.0.0-beta.35":
66
version "7.0.0-beta.44"
77
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9"
88
dependencies:
99
"@babel/highlight" "7.0.0-beta.44"
1010

11+
"@babel/generator@7.0.0-beta.44":
12+
version "7.0.0-beta.44"
13+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42"
14+
dependencies:
15+
"@babel/types" "7.0.0-beta.44"
16+
jsesc "^2.5.1"
17+
lodash "^4.2.0"
18+
source-map "^0.5.0"
19+
trim-right "^1.0.1"
20+
21+
"@babel/helper-function-name@7.0.0-beta.44":
22+
version "7.0.0-beta.44"
23+
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd"
24+
dependencies:
25+
"@babel/helper-get-function-arity" "7.0.0-beta.44"
26+
"@babel/template" "7.0.0-beta.44"
27+
"@babel/types" "7.0.0-beta.44"
28+
29+
"@babel/helper-get-function-arity@7.0.0-beta.44":
30+
version "7.0.0-beta.44"
31+
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15"
32+
dependencies:
33+
"@babel/types" "7.0.0-beta.44"
34+
35+
"@babel/helper-split-export-declaration@7.0.0-beta.44":
36+
version "7.0.0-beta.44"
37+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc"
38+
dependencies:
39+
"@babel/types" "7.0.0-beta.44"
40+
1141
"@babel/highlight@7.0.0-beta.44":
1242
version "7.0.0-beta.44"
1343
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5"
@@ -16,6 +46,38 @@
1646
esutils "^2.0.2"
1747
js-tokens "^3.0.0"
1848

49+
"@babel/template@7.0.0-beta.44":
50+
version "7.0.0-beta.44"
51+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f"
52+
dependencies:
53+
"@babel/code-frame" "7.0.0-beta.44"
54+
"@babel/types" "7.0.0-beta.44"
55+
babylon "7.0.0-beta.44"
56+
lodash "^4.2.0"
57+
58+
"@babel/traverse@7.0.0-beta.44":
59+
version "7.0.0-beta.44"
60+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966"
61+
dependencies:
62+
"@babel/code-frame" "7.0.0-beta.44"
63+
"@babel/generator" "7.0.0-beta.44"
64+
"@babel/helper-function-name" "7.0.0-beta.44"
65+
"@babel/helper-split-export-declaration" "7.0.0-beta.44"
66+
"@babel/types" "7.0.0-beta.44"
67+
babylon "7.0.0-beta.44"
68+
debug "^3.1.0"
69+
globals "^11.1.0"
70+
invariant "^2.2.0"
71+
lodash "^4.2.0"
72+
73+
"@babel/types@7.0.0-beta.44":
74+
version "7.0.0-beta.44"
75+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757"
76+
dependencies:
77+
esutils "^2.0.2"
78+
lodash "^4.2.0"
79+
to-fast-properties "^2.0.0"
80+
1981
"@mrmlnc/readdir-enhanced@^2.2.1":
2082
version "2.2.1"
2183
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
@@ -401,13 +463,28 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
401463
esutils "^2.0.2"
402464
js-tokens "^3.0.2"
403465

466+
babel-eslint@^8.2.3:
467+
version "8.2.3"
468+
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.3.tgz#1a2e6681cc9bc4473c32899e59915e19cd6733cf"
469+
dependencies:
470+
"@babel/code-frame" "7.0.0-beta.44"
471+
"@babel/traverse" "7.0.0-beta.44"
472+
"@babel/types" "7.0.0-beta.44"
473+
babylon "7.0.0-beta.44"
474+
eslint-scope "~3.7.1"
475+
eslint-visitor-keys "^1.0.0"
476+
404477
babel-runtime@^6.26.0:
405478
version "6.26.0"
406479
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
407480
dependencies:
408481
core-js "^2.4.0"
409482
regenerator-runtime "^0.11.0"
410483

484+
babylon@7.0.0-beta.44:
485+
version "7.0.0-beta.44"
486+
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d"
487+
411488
balanced-match@^0.4.2:
412489
version "0.4.2"
413490
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
@@ -1659,7 +1736,7 @@ domain-browser@^1.1.1:
16591736
version "1.2.0"
16601737
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"
16611738

1662-
domelementtype@1, domelementtype@^1.3.0:
1739+
domelementtype@1:
16631740
version "1.3.0"
16641741
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2"
16651742

@@ -1679,12 +1756,6 @@ domhandler@2.1:
16791756
dependencies:
16801757
domelementtype "1"
16811758

1682-
domhandler@^2.3.0:
1683-
version "2.4.1"
1684-
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.1.tgz#892e47000a99be55bbf3774ffea0561d8879c259"
1685-
dependencies:
1686-
domelementtype "1"
1687-
16881759
domutils@1.1:
16891760
version "1.1.6"
16901761
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.1.6.tgz#bddc3de099b9a2efacc51c623f28f416ecc57485"
@@ -1698,13 +1769,6 @@ domutils@1.5.1:
16981769
dom-serializer "0"
16991770
domelementtype "1"
17001771

1701-
domutils@^1.5.1:
1702-
version "1.7.0"
1703-
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
1704-
dependencies:
1705-
dom-serializer "0"
1706-
domelementtype "1"
1707-
17081772
dot-prop@^3.0.0:
17091773
version "3.0.0"
17101774
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177"
@@ -1778,7 +1842,7 @@ enhanced-resolve@^4.0.0:
17781842
memory-fs "^0.4.0"
17791843
tapable "^1.0.0"
17801844

1781-
entities@^1.1.1, entities@~1.1.1:
1845+
entities@~1.1.1:
17821846
version "1.1.1"
17831847
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
17841848

@@ -1846,19 +1910,20 @@ escodegen@^1.9.0:
18461910
optionalDependencies:
18471911
source-map "~0.6.1"
18481912

1849-
eslint-plugin-html@^4.0.1:
1850-
version "4.0.3"
1851-
resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-4.0.3.tgz#97d52dcf9e22724505d02719fbd02754013c8a17"
1913+
eslint-plugin-vue-libs@^3.0.0:
1914+
version "3.0.0"
1915+
resolved "https://registry.yarnpkg.com/eslint-plugin-vue-libs/-/eslint-plugin-vue-libs-3.0.0.tgz#9b81ae18c654eb2370b9c17d44b58ab759eadf2b"
18521916
dependencies:
1853-
htmlparser2 "^3.8.2"
1917+
babel-eslint "^8.2.3"
1918+
eslint-plugin-vue "^4.5.0"
18541919

1855-
eslint-plugin-vue-libs@^2.1.0:
1856-
version "2.1.0"
1857-
resolved "https://registry.yarnpkg.com/eslint-plugin-vue-libs/-/eslint-plugin-vue-libs-2.1.0.tgz#e7faf4ae11dad58553f63f907d6642e2d816dcef"
1920+
eslint-plugin-vue@^4.5.0:
1921+
version "4.5.0"
1922+
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-4.5.0.tgz#09d6597f4849e31a3846c2c395fccf17685b69c3"
18581923
dependencies:
1859-
eslint-plugin-html "^4.0.1"
1924+
vue-eslint-parser "^2.0.3"
18601925

1861-
eslint-scope@^3.7.1:
1926+
eslint-scope@^3.7.1, eslint-scope@~3.7.1:
18621927
version "3.7.1"
18631928
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8"
18641929
dependencies:
@@ -1912,7 +1977,7 @@ eslint@^4.19.1:
19121977
table "4.0.2"
19131978
text-table "~0.2.0"
19141979

1915-
espree@^3.5.4:
1980+
espree@^3.5.2, espree@^3.5.4:
19161981
version "3.5.4"
19171982
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7"
19181983
dependencies:
@@ -2460,7 +2525,7 @@ global@^4.3.2:
24602525
min-document "^2.19.0"
24612526
process "~0.5.1"
24622527

2463-
globals@^11.0.1:
2528+
globals@^11.0.1, globals@^11.1.0:
24642529
version "11.4.0"
24652530
resolved "https://registry.yarnpkg.com/globals/-/globals-11.4.0.tgz#b85c793349561c16076a3c13549238a27945f1bc"
24662531

@@ -2711,17 +2776,6 @@ html-minifier@^3.2.3:
27112776
relateurl "0.2.x"
27122777
uglify-js "3.3.x"
27132778

2714-
htmlparser2@^3.8.2:
2715-
version "3.9.2"
2716-
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.2.tgz#1bdf87acca0f3f9e53fa4fcceb0f4b4cbb00b338"
2717-
dependencies:
2718-
domelementtype "^1.3.0"
2719-
domhandler "^2.3.0"
2720-
domutils "^1.5.1"
2721-
entities "^1.1.1"
2722-
inherits "^2.0.1"
2723-
readable-stream "^2.0.2"
2724-
27252779
htmlparser2@~3.3.0:
27262780
version "3.3.0"
27272781
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.3.0.tgz#cc70d05a59f6542e43f0e685c982e14c924a9efe"
@@ -2874,6 +2928,12 @@ inquirer@^3.0.6:
28742928
strip-ansi "^4.0.0"
28752929
through "^2.3.6"
28762930

2931+
invariant@^2.2.0:
2932+
version "2.2.4"
2933+
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
2934+
dependencies:
2935+
loose-envify "^1.0.0"
2936+
28772937
is-absolute-url@^2.0.0:
28782938
version "2.1.0"
28792939
resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6"
@@ -3400,6 +3460,10 @@ jsdom@^11.5.1:
34003460
ws "^4.0.0"
34013461
xml-name-validator "^3.0.0"
34023462

3463+
jsesc@^2.5.1:
3464+
version "2.5.1"
3465+
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe"
3466+
34033467
jsesc@~0.5.0:
34043468
version "0.5.0"
34053469
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
@@ -3781,6 +3845,10 @@ lodash@^4.13.1, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, l
37813845
version "4.17.5"
37823846
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
37833847

3848+
lodash@^4.2.0:
3849+
version "4.17.10"
3850+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
3851+
37843852
log-symbols@^1.0.2:
37853853
version "1.0.2"
37863854
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
@@ -3816,6 +3884,12 @@ longest@^1.0.1:
38163884
version "1.0.1"
38173885
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
38183886

3887+
loose-envify@^1.0.0:
3888+
version "1.3.1"
3889+
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848"
3890+
dependencies:
3891+
js-tokens "^3.0.0"
3892+
38193893
loud-rejection@^1.0.0, loud-rejection@^1.6.0:
38203894
version "1.6.0"
38213895
resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
@@ -5726,7 +5800,7 @@ source-map@0.5.6:
57265800
version "0.5.6"
57275801
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
57285802

5729-
source-map@0.5.x, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
5803+
source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
57305804
version "0.5.7"
57315805
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
57325806

@@ -6135,6 +6209,10 @@ to-factory@^1.0.0:
61356209
version "1.0.0"
61366210
resolved "https://registry.yarnpkg.com/to-factory/-/to-factory-1.0.0.tgz#8738af8bd97120ad1d4047972ada5563bf9479b1"
61376211

6212+
to-fast-properties@^2.0.0:
6213+
version "2.0.0"
6214+
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
6215+
61386216
to-object-path@^0.3.0:
61396217
version "0.3.0"
61406218
resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af"
@@ -6195,6 +6273,10 @@ trim-off-newlines@^1.0.0:
61956273
version "1.0.1"
61966274
resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3"
61976275

6276+
trim-right@^1.0.1:
6277+
version "1.0.1"
6278+
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
6279+
61986280
tty-browserify@0.0.0:
61996281
version "0.0.0"
62006282
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
@@ -6468,6 +6550,17 @@ vm-browserify@0.0.4:
64686550
dependencies:
64696551
indexof "0.0.1"
64706552

6553+
vue-eslint-parser@^2.0.3:
6554+
version "2.0.3"
6555+
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz#c268c96c6d94cfe3d938a5f7593959b0ca3360d1"
6556+
dependencies:
6557+
debug "^3.1.0"
6558+
eslint-scope "^3.7.1"
6559+
eslint-visitor-keys "^1.0.0"
6560+
espree "^3.5.2"
6561+
esquery "^1.0.0"
6562+
lodash "^4.17.4"
6563+
64716564
vue-hot-reload-api@^2.3.0:
64726565
version "2.3.0"
64736566
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"

0 commit comments

Comments
 (0)