-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eslint): add no-unused-modules rule
- Loading branch information
ismay
committed
Apr 28, 2020
1 parent
d756e3a
commit 2b5db3f
Showing
3 changed files
with
134 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -515,6 +515,14 @@ array-unique@^0.3.2: | |
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" | ||
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= | ||
|
||
array.prototype.flat@^1.2.1: | ||
version "1.2.3" | ||
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b" | ||
integrity sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ== | ||
dependencies: | ||
define-properties "^1.1.3" | ||
es-abstract "^1.17.0-next.1" | ||
|
||
arrify@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" | ||
|
@@ -1078,6 +1086,11 @@ connect@^3.6.6: | |
parseurl "~1.3.3" | ||
utils-merge "1.0.1" | ||
|
||
contains-path@^0.1.0: | ||
version "0.1.0" | ||
resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" | ||
integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo= | ||
|
||
conventional-changelog-angular@^1.3.3: | ||
version "1.6.6" | ||
resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz#b27f2b315c16d0a1f23eb181309d0e6a4698ea0f" | ||
|
@@ -1217,7 +1230,7 @@ dashdash@^1.12.0: | |
dependencies: | ||
assert-plus "^1.0.0" | ||
|
||
[email protected], debug@^2.2.0, debug@^2.3.3: | ||
[email protected], debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: | ||
version "2.6.9" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" | ||
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== | ||
|
@@ -1350,6 +1363,14 @@ dmd@^4.0.5: | |
test-value "^3.0.0" | ||
walk-back "^4.0.0" | ||
|
||
[email protected]: | ||
version "1.5.0" | ||
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" | ||
integrity sha1-N53Ocw9hZvds76TmcHoVmwLFpvo= | ||
dependencies: | ||
esutils "^2.0.2" | ||
isarray "^1.0.0" | ||
|
||
doctrine@^2.1.0: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" | ||
|
@@ -1435,7 +1456,7 @@ entities@~1.1.1: | |
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" | ||
integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== | ||
|
||
error-ex@^1.3.1: | ||
error-ex@^1.2.0, error-ex@^1.3.1: | ||
version "1.3.2" | ||
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" | ||
integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== | ||
|
@@ -1507,6 +1528,40 @@ eslint-config-prettier@^6.11.0: | |
dependencies: | ||
get-stdin "^6.0.0" | ||
|
||
eslint-import-resolver-node@^0.3.2: | ||
version "0.3.3" | ||
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz#dbaa52b6b2816b50bc6711af75422de808e98404" | ||
integrity sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg== | ||
dependencies: | ||
debug "^2.6.9" | ||
resolve "^1.13.1" | ||
|
||
eslint-module-utils@^2.4.1: | ||
version "2.6.0" | ||
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz#579ebd094f56af7797d19c9866c9c9486629bfa6" | ||
integrity sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA== | ||
dependencies: | ||
debug "^2.6.9" | ||
pkg-dir "^2.0.0" | ||
|
||
eslint-plugin-import@^2.20.2: | ||
version "2.20.2" | ||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz#91fc3807ce08be4837141272c8b99073906e588d" | ||
integrity sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg== | ||
dependencies: | ||
array-includes "^3.0.3" | ||
array.prototype.flat "^1.2.1" | ||
contains-path "^0.1.0" | ||
debug "^2.6.9" | ||
doctrine "1.5.0" | ||
eslint-import-resolver-node "^0.3.2" | ||
eslint-module-utils "^2.4.1" | ||
has "^1.0.3" | ||
minimatch "^3.0.4" | ||
object.values "^1.1.0" | ||
read-pkg-up "^2.0.0" | ||
resolve "^1.12.0" | ||
|
||
eslint-plugin-prettier@^3.1.3: | ||
version "3.1.3" | ||
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz#ae116a0fc0e598fdae48743a4430903de5b4e6ca" | ||
|
@@ -1848,7 +1903,7 @@ find-replace@^3.0.0: | |
dependencies: | ||
array-back "^3.0.1" | ||
|
||
find-up@^2.0.0: | ||
find-up@^2.0.0, find-up@^2.1.0: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" | ||
integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= | ||
|
@@ -2620,7 +2675,7 @@ is-yarn-global@^0.3.0: | |
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" | ||
integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== | ||
|
||
[email protected], isarray@~1.0.0: | ||
[email protected], isarray@^1.0.0, isarray@~1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" | ||
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= | ||
|
@@ -2886,6 +2941,16 @@ live-server@^1.2.1: | |
send latest | ||
serve-index "^1.9.1" | ||
|
||
load-json-file@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" | ||
integrity sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg= | ||
dependencies: | ||
graceful-fs "^4.1.2" | ||
parse-json "^2.2.0" | ||
pify "^2.0.0" | ||
strip-bom "^3.0.0" | ||
|
||
load-json-file@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" | ||
|
@@ -3418,7 +3483,7 @@ object.pick@^1.3.0: | |
dependencies: | ||
isobject "^3.0.1" | ||
|
||
object.values@^1.1.1: | ||
object.values@^1.1.0, object.values@^1.1.1: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e" | ||
integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA== | ||
|
@@ -3570,6 +3635,13 @@ parent-module@^1.0.0: | |
dependencies: | ||
callsites "^3.0.0" | ||
|
||
parse-json@^2.2.0: | ||
version "2.2.0" | ||
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" | ||
integrity sha1-9ID0BDTvgHQfhGkJn43qGPVaTck= | ||
dependencies: | ||
error-ex "^1.2.0" | ||
|
||
parse-json@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" | ||
|
@@ -3638,6 +3710,13 @@ path-parse@^1.0.6: | |
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" | ||
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== | ||
|
||
path-type@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" | ||
integrity sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM= | ||
dependencies: | ||
pify "^2.0.0" | ||
|
||
path-type@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" | ||
|
@@ -3672,11 +3751,23 @@ picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.0.7, picomatch@^2.2.1: | |
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" | ||
integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== | ||
|
||
pify@^2.0.0: | ||
version "2.3.0" | ||
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" | ||
integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= | ||
|
||
pify@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" | ||
integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= | ||
|
||
pkg-dir@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" | ||
integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= | ||
dependencies: | ||
find-up "^2.1.0" | ||
|
||
pkg-dir@^4.2.0: | ||
version "4.2.0" | ||
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" | ||
|
@@ -3805,6 +3896,14 @@ react-is@^16.8.1: | |
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.11.0.tgz#b85dfecd48ad1ce469ff558a882ca8e8313928fa" | ||
integrity sha512-gbBVYR2p8mnriqAwWx9LbuUrShnAuSCNnuPGyc7GJrMVQtPDAh8iLpv7FRuMPFb56KkaVZIYSz1PrjI9q0QPCw== | ||
|
||
read-pkg-up@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" | ||
integrity sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4= | ||
dependencies: | ||
find-up "^2.0.0" | ||
read-pkg "^2.0.0" | ||
|
||
read-pkg-up@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" | ||
|
@@ -3813,6 +3912,15 @@ read-pkg-up@^3.0.0: | |
find-up "^2.0.0" | ||
read-pkg "^3.0.0" | ||
|
||
read-pkg@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" | ||
integrity sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg= | ||
dependencies: | ||
load-json-file "^2.0.0" | ||
normalize-package-data "^2.3.2" | ||
path-type "^2.0.0" | ||
|
||
read-pkg@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" | ||
|
@@ -4045,6 +4153,13 @@ resolve@^1.12.0, resolve@^1.15.1, resolve@~1.15.1: | |
dependencies: | ||
path-parse "^1.0.6" | ||
|
||
resolve@^1.13.1: | ||
version "1.17.0" | ||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" | ||
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== | ||
dependencies: | ||
path-parse "^1.0.6" | ||
|
||
responselike@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" | ||
|