Skip to content

Commit 53602a5

Browse files
authored
Eslint vue 7x upgrade (#540)
* Upgrade eslint-plugin-vue to 7.x series. * Remove deprecated eslint-config-vue, now part of eslint-plugin-vue From: https://github.com/vuejs/eslint-config-vue > This package has been deprecated. The original config is now > part of eslint-plugin-vue-libs.
1 parent c57239d commit 53602a5

File tree

2 files changed

+77
-44
lines changed

2 files changed

+77
-44
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"eslint-config-standard": "^12.0.0",
4343
"eslint-config-standard-jsx": "^6.0.2",
4444
"eslint-config-standard-react": "^7.0.2",
45-
"eslint-config-vue": "^2.0.2",
4645
"eslint-config-will-robinson": "^3.1.1",
4746
"eslint-config-xo": "^0.25.0",
4847
"eslint-config-xo-react": "^0.17.0",
@@ -89,7 +88,7 @@
8988
"eslint-plugin-standard": "^4.0.0",
9089
"eslint-plugin-svelte3": "^2.7.3",
9190
"eslint-plugin-testing-library": "^4.2.0",
92-
"eslint-plugin-vue": "^5.2.2",
91+
"eslint-plugin-vue": "^7.7.0",
9392
"eslint-plugin-vue-a11y": "^0.0.28",
9493
"eslint-plugin-xogroup": "^2.3.1",
9594
"glob": "^7.1.4",

yarn.lock

Lines changed: 76 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ acorn-jsx@^3.0.0:
726726
dependencies:
727727
acorn "^3.0.4"
728728

729-
acorn-jsx@^5.0.0, acorn-jsx@^5.1.0:
729+
acorn-jsx@^5.1.0:
730730
version "5.1.0"
731731
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"
732732

@@ -743,14 +743,19 @@ acorn@^5.5.0:
743743
version "5.7.3"
744744
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
745745

746-
acorn@^6.0.2, acorn@^6.2.1:
746+
acorn@^6.2.1:
747747
version "6.3.0"
748748
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
749749

750750
acorn@^7.1.0:
751751
version "7.1.0"
752752
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
753753

754+
acorn@^7.1.1:
755+
version "7.4.1"
756+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
757+
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
758+
754759
acorn@^7.3.1:
755760
version "7.4.0"
756761
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.0.tgz#e1ad486e6c54501634c6c397c5c121daa383607c"
@@ -1594,13 +1599,20 @@ debug@^3.1.0, debug@^3.2.6:
15941599
dependencies:
15951600
ms "^2.1.1"
15961601

1597-
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
1602+
debug@^4.0.1, debug@^4.1.1:
15981603
version "4.1.1"
15991604
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
16001605
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
16011606
dependencies:
16021607
ms "^2.1.1"
16031608

1609+
debug@^4.1.0:
1610+
version "4.3.1"
1611+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
1612+
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
1613+
dependencies:
1614+
ms "2.1.2"
1615+
16041616
decode-uri-component@^0.2.0:
16051617
version "0.2.0"
16061618
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
@@ -2157,10 +2169,6 @@ eslint-config-standard@^12.0.0:
21572169
version "12.0.0"
21582170
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz#638b4c65db0bd5a41319f96bba1f15ddad2107d9"
21592171

2160-
eslint-config-vue@^2.0.2:
2161-
version "2.0.2"
2162-
resolved "https://registry.yarnpkg.com/eslint-config-vue/-/eslint-config-vue-2.0.2.tgz#a3ab1004899e49327a94c63e24d47a396b2f4848"
2163-
21642172
eslint-config-will-robinson@^3.1.1:
21652173
version "3.1.1"
21662174
resolved "https://registry.yarnpkg.com/eslint-config-will-robinson/-/eslint-config-will-robinson-3.1.1.tgz#7713c08e41c3b6ac3c4dc209da4b4813e0367ce5"
@@ -2628,11 +2636,15 @@ eslint-plugin-vue@^4.4.0:
26282636
dependencies:
26292637
vue-eslint-parser "^2.0.3"
26302638

2631-
eslint-plugin-vue@^5.2.2:
2632-
version "5.2.3"
2633-
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-5.2.3.tgz#3ee7597d823b5478804b2feba9863b1b74273961"
2639+
eslint-plugin-vue@^7.7.0:
2640+
version "7.12.1"
2641+
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.12.1.tgz#ef6499ce4fe0566659c8e12c71713f5308630a76"
2642+
integrity sha512-xHf/wCt88qmzqQerjaSteUFGASj7fPreglKD4ijnvoKRkoSJ3/H3kuJE8QFFtc+2wjw6hRDs834HH7vpuTJQzg==
26342643
dependencies:
2635-
vue-eslint-parser "^5.0.0"
2644+
eslint-utils "^2.1.0"
2645+
natural-compare "^1.4.0"
2646+
semver "^7.3.2"
2647+
vue-eslint-parser "^7.6.0"
26362648

26372649
eslint-plugin-xogroup@^2.3.1:
26382650
version "2.3.1"
@@ -2661,7 +2673,7 @@ eslint-scope@^3.7.1:
26612673
esrecurse "^4.1.0"
26622674
estraverse "^4.1.1"
26632675

2664-
eslint-scope@^4.0.0, eslint-scope@^4.0.3:
2676+
eslint-scope@^4.0.3:
26652677
version "4.0.3"
26662678
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
26672679
dependencies:
@@ -2688,15 +2700,15 @@ eslint-utils@^2.0.0, eslint-utils@^2.1.0:
26882700
dependencies:
26892701
eslint-visitor-keys "^1.1.0"
26902702

2691-
eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
2692-
version "1.1.0"
2693-
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
2694-
2695-
eslint-visitor-keys@^1.3.0:
2703+
eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.3.0:
26962704
version "1.3.0"
26972705
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
26982706
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
26992707

2708+
eslint-visitor-keys@^1.1.0:
2709+
version "1.1.0"
2710+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
2711+
27002712
eslint-visitor-keys@^2.0.0:
27012713
version "2.0.0"
27022714
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
@@ -2833,14 +2845,6 @@ espree@^3.4.0, espree@^3.5.2:
28332845
acorn "^5.5.0"
28342846
acorn-jsx "^3.0.0"
28352847

2836-
espree@^4.1.0:
2837-
version "4.1.0"
2838-
resolved "https://registry.yarnpkg.com/espree/-/espree-4.1.0.tgz#728d5451e0fd156c04384a7ad89ed51ff54eb25f"
2839-
dependencies:
2840-
acorn "^6.0.2"
2841-
acorn-jsx "^5.0.0"
2842-
eslint-visitor-keys "^1.0.0"
2843-
28442848
espree@^6.1.2:
28452849
version "6.1.2"
28462850
resolved "https://registry.yarnpkg.com/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d"
@@ -2849,6 +2853,15 @@ espree@^6.1.2:
28492853
acorn-jsx "^5.1.0"
28502854
eslint-visitor-keys "^1.1.0"
28512855

2856+
espree@^6.2.1:
2857+
version "6.2.1"
2858+
resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a"
2859+
integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==
2860+
dependencies:
2861+
acorn "^7.1.1"
2862+
acorn-jsx "^5.2.0"
2863+
eslint-visitor-keys "^1.1.0"
2864+
28522865
espree@^7.2.0:
28532866
version "7.2.0"
28542867
resolved "https://registry.yarnpkg.com/espree/-/espree-7.2.0.tgz#1c263d5b513dbad0ac30c4991b93ac354e948d69"
@@ -2862,12 +2875,19 @@ esprima@^4.0.0:
28622875
version "4.0.1"
28632876
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
28642877

2865-
esquery@^1.0.0, esquery@^1.0.1:
2878+
esquery@^1.0.0:
28662879
version "1.0.1"
28672880
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708"
28682881
dependencies:
28692882
estraverse "^4.0.0"
28702883

2884+
esquery@^1.0.1, esquery@^1.4.0:
2885+
version "1.4.0"
2886+
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5"
2887+
integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==
2888+
dependencies:
2889+
estraverse "^5.1.0"
2890+
28712891
esquery@^1.2.0:
28722892
version "1.3.1"
28732893
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57"
@@ -2876,16 +2896,18 @@ esquery@^1.2.0:
28762896
estraverse "^5.1.0"
28772897

28782898
esrecurse@^4.1.0:
2879-
version "4.2.1"
2880-
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf"
2899+
version "4.3.0"
2900+
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
2901+
integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
28812902
dependencies:
2882-
estraverse "^4.1.0"
2903+
estraverse "^5.2.0"
28832904

2884-
estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0:
2905+
estraverse@^4.0.0, estraverse@^4.1.1, estraverse@^4.2.0:
28852906
version "4.3.0"
28862907
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
2908+
integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
28872909

2888-
estraverse@^5.1.0:
2910+
estraverse@^5.1.0, estraverse@^5.2.0:
28892911
version "5.2.0"
28902912
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880"
28912913
integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==
@@ -3963,10 +3985,15 @@ [email protected]:
39633985
version "4.17.10"
39643986
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
39653987

3966-
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.3.0:
3988+
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.3.0:
39673989
version "4.17.15"
39683990
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
39693991

3992+
lodash@^4.17.11:
3993+
version "4.17.21"
3994+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
3995+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
3996+
39703997
lodash@^4.17.19:
39713998
version "4.17.19"
39723999
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
@@ -4188,9 +4215,15 @@ [email protected]:
41884215
version "2.0.0"
41894216
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
41904217

4191-
ms@^2.1.1:
4218+
41924219
version "2.1.2"
41934220
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
4221+
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
4222+
4223+
ms@^2.1.1:
4224+
version "2.1.3"
4225+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
4226+
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
41944227

41954228
41964229
version "0.0.5"
@@ -5828,16 +5861,17 @@ vue-eslint-parser@^2.0.3:
58285861
esquery "^1.0.0"
58295862
lodash "^4.17.4"
58305863

5831-
vue-eslint-parser@^5.0.0:
5832-
version "5.0.0"
5833-
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz#00f4e4da94ec974b821a26ff0ed0f7a78402b8a1"
5864+
vue-eslint-parser@^7.6.0:
5865+
version "7.6.0"
5866+
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.6.0.tgz#01ea1a2932f581ff244336565d712801f8f72561"
5867+
integrity sha512-QXxqH8ZevBrtiZMZK0LpwaMfevQi9UL7lY6Kcp+ogWHC88AuwUPwwCIzkOUc1LR4XsYAt/F9yHXAB/QoD17QXA==
58345868
dependencies:
5835-
debug "^4.1.0"
5836-
eslint-scope "^4.0.0"
5837-
eslint-visitor-keys "^1.0.0"
5838-
espree "^4.1.0"
5839-
esquery "^1.0.1"
5840-
lodash "^4.17.11"
5869+
debug "^4.1.1"
5870+
eslint-scope "^5.0.0"
5871+
eslint-visitor-keys "^1.1.0"
5872+
espree "^6.2.1"
5873+
esquery "^1.4.0"
5874+
lodash "^4.17.15"
58415875

58425876
watchpack@^1.6.0:
58435877
version "1.6.0"

0 commit comments

Comments
 (0)