mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Update dependency @sourcegraph/eslint-config to ^0.4.3 (#6450)
* Update dependency @sourcegraph/eslint-config to ^0.4.3 * Fix
This commit is contained in:
parent
fe8502f2f9
commit
064b137e20
@ -59,7 +59,7 @@
|
||||
"@gql2ts/language-typescript": "^1.9.0",
|
||||
"@percy/puppeteer": "^1.0.8",
|
||||
"@sourcegraph/babel-plugin-transform-react-hot-loader-wrapper": "^1.0.0",
|
||||
"@sourcegraph/eslint-config": "^0.4.0",
|
||||
"@sourcegraph/eslint-config": "^0.4.3",
|
||||
"@sourcegraph/prettierrc": "^3.0.1",
|
||||
"@sourcegraph/stylelint-config": "^1.1.4",
|
||||
"@sourcegraph/tsconfig": "^4.0.0",
|
||||
|
||||
@ -97,28 +97,27 @@ export const SearchResultsInfoBar: React.FunctionComponent<SearchResultsInfoBarP
|
||||
<small className="search-results-info-bar__row">
|
||||
<div className="search-results-info-bar__row-left">
|
||||
{/* Time stats */}
|
||||
{
|
||||
<div className="search-results-info-bar__notice e2e-search-results-stats">
|
||||
<span>
|
||||
<CalculatorIcon className="icon-inline" /> {props.results.approximateResultCount}{' '}
|
||||
{pluralize('result', props.results.resultCount)} in{' '}
|
||||
{(props.results.elapsedMilliseconds / 1000).toFixed(2)} seconds
|
||||
{props.results.indexUnavailable && ' (index unavailable)'}
|
||||
{/* Nonbreaking space */}
|
||||
{props.results.limitHit && String.fromCharCode(160)}
|
||||
</span>
|
||||
{/* Instantly accessible "show more button" */}
|
||||
{props.results.limitHit && (
|
||||
<button
|
||||
type="button"
|
||||
className="btn btn-link btn-sm p-0"
|
||||
onClick={props.onShowMoreResultsClick}
|
||||
>
|
||||
(show more)
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
<div className="search-results-info-bar__notice e2e-search-results-stats">
|
||||
<span>
|
||||
<CalculatorIcon className="icon-inline" /> {props.results.approximateResultCount}{' '}
|
||||
{pluralize('result', props.results.matchCount)} in{' '}
|
||||
{(props.results.elapsedMilliseconds / 1000).toFixed(2)} seconds
|
||||
{props.results.indexUnavailable && ' (index unavailable)'}
|
||||
{/* Nonbreaking space */}
|
||||
{props.results.limitHit && String.fromCharCode(160)}
|
||||
</span>
|
||||
{/* Instantly accessible "show more button" */}
|
||||
{props.results.limitHit && (
|
||||
<button
|
||||
type="button"
|
||||
className="btn btn-link btn-sm p-0"
|
||||
onClick={props.onShowMoreResultsClick}
|
||||
>
|
||||
(show more)
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Missing repos */}
|
||||
{props.results.missing.length > 0 && (
|
||||
<div
|
||||
|
||||
125
yarn.lock
125
yarn.lock
@ -1578,21 +1578,21 @@
|
||||
resolved "https://registry.npmjs.org/@sourcegraph/comlink/-/comlink-3.1.1-fork.3.tgz#1bd76bc74ca8a9b55f1dbf508c703053ee66c961"
|
||||
integrity sha512-+vfSCJTS/GU391Hhdh2/s+wy5ok4hi6X+kizRQqQZwZI03Q1rR6SVLNFsbg4dhbX624mqr1UCRhwNnZdWHAR+A==
|
||||
|
||||
"@sourcegraph/eslint-config@^0.4.0":
|
||||
version "0.4.0"
|
||||
resolved "https://registry.npmjs.org/@sourcegraph/eslint-config/-/eslint-config-0.4.0.tgz#6b1054f11b7c6740b19ca9ed6d1a1119ddc27fa0"
|
||||
integrity sha512-XD8EmX5CJjuxPcaB+f1VX6mQNKQ1ZVcLrZGo45nl/fHy7Q2BWFjQLSJffoJoyA83+Ph/ih9IBWRIiRcooCR2YA==
|
||||
"@sourcegraph/eslint-config@^0.4.3":
|
||||
version "0.4.3"
|
||||
resolved "https://registry.npmjs.org/@sourcegraph/eslint-config/-/eslint-config-0.4.3.tgz#f5f08bea2f7c75841813a30c5daeeb43f7f650bf"
|
||||
integrity sha512-oBKurT2uajaazBdJv6iPUUpRJOcJZnIDY2U5AB/1UgxCxg4tm7IfRFPOZunhUriDsMgoXGhTsht/MNmjwz8Dqg==
|
||||
dependencies:
|
||||
"@sourcegraph/prettierrc" "^3.0.1"
|
||||
"@typescript-eslint/eslint-plugin" "^2.4.0"
|
||||
"@typescript-eslint/parser" "^2.4.0"
|
||||
eslint-config-prettier "^6.0.0"
|
||||
eslint-plugin-ban "^1.2.0"
|
||||
eslint-plugin-etc "^0.0.1-beta.6"
|
||||
eslint-config-prettier "^6.5.0"
|
||||
eslint-plugin-ban "^1.3.0"
|
||||
eslint-plugin-etc "^0.0.1-beta.18"
|
||||
eslint-plugin-import "^2.18.2"
|
||||
eslint-plugin-jsdoc "^15.8.0"
|
||||
eslint-plugin-react "^7.14.3"
|
||||
eslint-plugin-react-hooks "^1.6.1"
|
||||
eslint-plugin-jsdoc "^17.1.0"
|
||||
eslint-plugin-react "^7.16.0"
|
||||
eslint-plugin-react-hooks "^2.2.0"
|
||||
|
||||
"@sourcegraph/event-positions@^1.0.2":
|
||||
version "1.0.2"
|
||||
@ -5677,10 +5677,10 @@ commander@^2.10.0, commander@^2.11.0, commander@^2.12.1, commander@^2.19.0, comm
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
|
||||
integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
|
||||
|
||||
comment-parser@^0.6.1:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.npmjs.org/comment-parser/-/comment-parser-0.6.1.tgz#88040c7c0a57c62e64962c3e888518620a42e7c9"
|
||||
integrity sha512-Putzd7Ilyvknmb1KxGf5el9uw0sPx9gEVnDrm8tlvXGN1i8Uaa2VBxB32hUhfzTlrEhhxNQ+pKq4ZNe8wNxjmw==
|
||||
comment-parser@^0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.0.tgz#9dc1f689a60d81fbcaf867d3c9eba3eb061ccfc1"
|
||||
integrity sha512-m0SGP0RFO4P3hIBlIor4sBFPe5Y4HUeGgo/UZK/1Zdea5eUiqxroQ3lFqBDDSfWo9z9Q6LLnt2u0JqwacVEd/A==
|
||||
|
||||
common-tags@1.8.0, common-tags@^1.8.0:
|
||||
version "1.8.0"
|
||||
@ -7284,17 +7284,17 @@ escope@^3.6.0:
|
||||
esrecurse "^4.1.0"
|
||||
estraverse "^4.1.1"
|
||||
|
||||
eslint-config-prettier@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#f429a53bde9fc7660e6353910fd996d6284d3c25"
|
||||
integrity sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==
|
||||
eslint-config-prettier@^6.5.0:
|
||||
version "6.5.0"
|
||||
resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.5.0.tgz#aaf9a495e2a816865e541bfdbb73a65cc162b3eb"
|
||||
integrity sha512-cjXp8SbO9VFGW/Z7mbTydqS9to8Z58E5aYhj3e1+Hx7lS9s6gL5ILKNpCqZAFOVYRcSkWPFYljHrEh8QFEK5EQ==
|
||||
dependencies:
|
||||
get-stdin "^6.0.0"
|
||||
|
||||
eslint-etc@^0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.npmjs.org/eslint-etc/-/eslint-etc-0.0.1.tgz#e082e6ed4de09e901378a950c7d48efe3a4c4b60"
|
||||
integrity sha512-XqVDWFXffrRW/RKB2dojpz+xcoox+WikWjkwUNW2cKdqhE/puJGu1Gd7wo4qWLozvirS7WXCoTY5xhVsQkhgUw==
|
||||
eslint-etc@^0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.npmjs.org/eslint-etc/-/eslint-etc-0.0.3.tgz#174203a561eca6ec83a15d34a7735636a6a8689a"
|
||||
integrity sha512-2z8FOcOd/SCQmJvWKT44n4OK8+PTcu4uxIn6mEokZtFpVjIX9fMeS0cuV44D9ccZEli3UfQyq1hkpRgR4IHmow==
|
||||
|
||||
eslint-import-resolver-node@^0.3.2:
|
||||
version "0.3.2"
|
||||
@ -7312,19 +7312,20 @@ eslint-module-utils@^2.4.0:
|
||||
debug "^2.6.8"
|
||||
pkg-dir "^2.0.0"
|
||||
|
||||
eslint-plugin-ban@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-ban/-/eslint-plugin-ban-1.2.0.tgz#d65867ffcca542465004ad07d51d1c635a8514dc"
|
||||
integrity sha512-UKdGRnKnaTo8dFnLYEgErBBmcDW1p/OtqFDdYz4a1QBduJpJFSNllz06psu53YMBShVK5bLGg798/E9LGf1bog==
|
||||
eslint-plugin-ban@^1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-ban/-/eslint-plugin-ban-1.3.0.tgz#be9714cb9e01a1adec6c86cdb182e97636eafe44"
|
||||
integrity sha512-A9A2z60UeVj7/BdKzeIjVEGAog/4QXAyOkZ98AUnZc7fsRp+J7YW7+U/YEVpBJqjSiU/FGUA5tGJoI34ul/TyA==
|
||||
dependencies:
|
||||
requireindex "~1.2.0"
|
||||
|
||||
eslint-plugin-etc@^0.0.1-beta.6:
|
||||
version "0.0.1-beta.6"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-etc/-/eslint-plugin-etc-0.0.1-beta.6.tgz#7edee4ee78073078312e4a7798907be94708c9dc"
|
||||
integrity sha512-0htnrSFUDNKL3WIaIbS/HQQmO3KnvTuU3AGjc8YiX/xvTWMk6mPtp/UrmsMvUSI3LZhWfgJCcXF8qA1hgZOA4Q==
|
||||
eslint-plugin-etc@^0.0.1-beta.18:
|
||||
version "0.0.1-beta.18"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-etc/-/eslint-plugin-etc-0.0.1-beta.18.tgz#2c39b4da47971076bf04f2c6a8d3295f232601b2"
|
||||
integrity sha512-U6QQS4CxJzvpqgTUZivH0O/NzrC5EV/9E50DSwSzQDK56l67CGh8rnmwW19jrboJrAQ8nzwPV7YSrQQMl4G81w==
|
||||
dependencies:
|
||||
eslint-etc "^0.0.1"
|
||||
"@phenomnomnominal/tsquery" "^3.0.0"
|
||||
eslint-etc "^0.0.3"
|
||||
requireindex "~1.2.0"
|
||||
tslib "^1.8.0"
|
||||
tslint-etc "^1.6.0"
|
||||
@ -7348,15 +7349,14 @@ eslint-plugin-import@^2.18.2:
|
||||
read-pkg-up "^2.0.0"
|
||||
resolve "^1.11.0"
|
||||
|
||||
eslint-plugin-jsdoc@^15.8.0:
|
||||
version "15.8.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-15.8.0.tgz#74cf0f35dec8524a6bd011f0cf199d24e09517f2"
|
||||
integrity sha512-J6ozWkaAgBh1eLdQE+C2wcXhoEgDmGJOSB6zMF5ktEtMBnU62xT3wfHcUacuTnv6rt+ollC0uZThaEpGA+sTNg==
|
||||
eslint-plugin-jsdoc@^17.1.0:
|
||||
version "17.1.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-17.1.0.tgz#4367ed2ae4c9e04c909c068d661c09bae0e07f9a"
|
||||
integrity sha512-nIsSjuJOa95O5ayhFDdtaa1y0t1CGAksemcqXGTkXE49xOzZSMUChixzCP6feL+hfRcDZHWoHk17lOlblGFkaw==
|
||||
dependencies:
|
||||
comment-parser "^0.6.1"
|
||||
comment-parser "^0.7.0"
|
||||
debug "^4.1.1"
|
||||
flat-map-polyfill "^0.3.8"
|
||||
jsdoctypeparser "5.0.1"
|
||||
jsdoctypeparser "^5.1.1"
|
||||
lodash "^4.17.15"
|
||||
object.entries-ponyfill "^1.0.1"
|
||||
regextras "^0.6.1"
|
||||
@ -7368,25 +7368,25 @@ eslint-plugin-no-unsafe-innerhtml@1.0.16:
|
||||
dependencies:
|
||||
eslint "^3.7.1"
|
||||
|
||||
eslint-plugin-react-hooks@^1.6.1:
|
||||
version "1.6.1"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.6.1.tgz#3c66a5515ea3e0a221ffc5d4e75c971c217b1a4c"
|
||||
integrity sha512-wHhmGJyVuijnYIJXZJHDUF2WM+rJYTjulUTqF9k61d3BTk8etydz+M4dXUVH7M76ZRS85rqBTCx0Es/lLsrjnA==
|
||||
eslint-plugin-react-hooks@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.2.0.tgz#078264e9e388da6929ace09d6abe92c85963aff4"
|
||||
integrity sha512-jSlnBjV2cmyIeL555H/FbvuSbQ1AtpHjLMHuPrQnt1eVA6lX8yufdygh7AArI2m8ct7ChHGx2uOaCuxq2MUn6g==
|
||||
|
||||
eslint-plugin-react@^7.14.3:
|
||||
version "7.14.3"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"
|
||||
integrity sha512-EzdyyBWC4Uz2hPYBiEJrKCUi2Fn+BJ9B/pJQcjw5X+x/H2Nm59S4MJIvL4O5NEE0+WbnQwEBxWY03oUk+Bc3FA==
|
||||
eslint-plugin-react@^7.16.0:
|
||||
version "7.16.0"
|
||||
resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.16.0.tgz#9928e4f3e2122ed3ba6a5b56d0303ba3e41d8c09"
|
||||
integrity sha512-GacBAATewhhptbK3/vTP09CbFrgUJmBSaaRcWdbQLFvUZy9yVcQxigBNHGPU/KE2AyHpzj3AWXpxoMTsIDiHug==
|
||||
dependencies:
|
||||
array-includes "^3.0.3"
|
||||
doctrine "^2.1.0"
|
||||
has "^1.0.3"
|
||||
jsx-ast-utils "^2.1.0"
|
||||
jsx-ast-utils "^2.2.1"
|
||||
object.entries "^1.1.0"
|
||||
object.fromentries "^2.0.0"
|
||||
object.values "^1.1.0"
|
||||
prop-types "^15.7.2"
|
||||
resolve "^1.10.1"
|
||||
resolve "^1.12.0"
|
||||
|
||||
eslint-scope@^4.0.3:
|
||||
version "4.0.3"
|
||||
@ -8220,11 +8220,6 @@ flat-cache@^2.0.1:
|
||||
rimraf "2.6.3"
|
||||
write "1.0.3"
|
||||
|
||||
flat-map-polyfill@^0.3.8:
|
||||
version "0.3.8"
|
||||
resolved "https://registry.npmjs.org/flat-map-polyfill/-/flat-map-polyfill-0.3.8.tgz#4ec0bfb7c70e2962f00db03548d3620471fd8697"
|
||||
integrity sha512-ZfmD5MnU7GglUEhiky9C7yEPaNq1/wh36RDohe+Xr3nJVdccwHbdTkFIYvetcdsoAckUKT51fuf44g7Ni5Doyg==
|
||||
|
||||
flatstr@^1.0.9:
|
||||
version "1.0.12"
|
||||
resolved "https://registry.npmjs.org/flatstr/-/flatstr-1.0.12.tgz#c2ba6a08173edbb6c9640e3055b95e287ceb5931"
|
||||
@ -10786,10 +10781,10 @@ jsbn@~0.1.0:
|
||||
resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
|
||||
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
|
||||
|
||||
jsdoctypeparser@5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-5.0.1.tgz#0d6bc09bb8bebeca5a588fcd508228d2189409a3"
|
||||
integrity sha512-dYwcK6TKzvq+ZKtbp4sbQSW9JMo6s+4YFfUs5D/K7bZsn3s1NhEhZ+jmIPzby0HbkbECBe+hNPEa6a+E21o94w==
|
||||
jsdoctypeparser@^5.1.1:
|
||||
version "5.1.1"
|
||||
resolved "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-5.1.1.tgz#99c57412fe736c70024bf54204ed1bb93cf4a49f"
|
||||
integrity sha512-APGygIJrT5bbz5lsVt8vyLJC0miEbQf/z9ZBfTr4RYvdia8AhWMRlYgivvwHG5zKD/VW3d6qpChCy64hpQET3A==
|
||||
|
||||
jsdom@^11.5.1:
|
||||
version "11.12.0"
|
||||
@ -11043,10 +11038,10 @@ jstransform@^11.0.3:
|
||||
object-assign "^2.0.0"
|
||||
source-map "^0.4.2"
|
||||
|
||||
jsx-ast-utils@^2.1.0:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb"
|
||||
integrity sha512-v3FxCcAf20DayI+uxnCuw795+oOIkVu6EnJ1+kSzhqqTZHNkTZ7B66ZgLp4oLJ/gbA64cI0B7WRoHZMSRdyVRQ==
|
||||
jsx-ast-utils@^2.2.1:
|
||||
version "2.2.3"
|
||||
resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz#8a9364e402448a3ce7f14d357738310d9248054f"
|
||||
integrity sha512-EdIHFMm+1BPynpKOpdPqiOsvnIrInRGJD7bzPZdPkjitQEqpdpUuFpq4T0npZFKTiB3RhWFdGN+oqOJIdhDhQA==
|
||||
dependencies:
|
||||
array-includes "^3.0.3"
|
||||
object.assign "^4.1.0"
|
||||
@ -15464,10 +15459,10 @@ resolve@1.1.7:
|
||||
resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
|
||||
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
|
||||
|
||||
resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1:
|
||||
version "1.11.1"
|
||||
resolved "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e"
|
||||
integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==
|
||||
resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1:
|
||||
version "1.12.0"
|
||||
resolved "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
|
||||
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
|
||||
dependencies:
|
||||
path-parse "^1.0.6"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user