Skip to content

Commit

Permalink
fix(build): npm lint updates (#345)
Browse files Browse the repository at this point in the history
* build, jsdoc annotation updates
  • Loading branch information
cdcabrera committed Jul 30, 2020
1 parent 3632fbf commit 05d918a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsdoc": "^27.0.5",
"eslint-plugin-jsdoc": "^29.2.0",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
Expand Down
14 changes: 7 additions & 7 deletions src/components/c3GraphCard/c3GraphCardHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ const yAxisTickFormat = ({ tick, locale }) =>
* @param {string} options.granularity
* @param {string} options.productShortLabel
* @returns {{configuration: {padding: {top: number, left: number, bottom: number, right: number},
* data: {types: {}, names: {}, columns: [], x: string, groups: [[]], colors: {}},
* legend: {show: boolean}, grid: {y: {show: boolean}}, tooltip: {format: {title: (function(*): string),
* value: (function(*, *, *=, *): *)}, order: (function(*, *): number)}, unloadBeforeLoad: boolean,
* spline: {interpolation: {type: string}}, axis: {x: {padding: number,
* tick: {format: (function(*=): string)}, type: string}, y: {padding: {bottom: number},
* default: number[], min: number, tick: {show: boolean, outer: boolean,
* format: (function(*): string)}}}, point: {show: boolean}}, hiddenDataFacets: []}}
* data: {types: {}, names: {}, columns: Array, x: string, groups: Array, colors: {}},
* legend: {show: boolean}, grid: {y: {show: boolean}}, tooltip: {format: {title: Function,
* value: Function}, order: Function}, unloadBeforeLoad: boolean,
* spline: {interpolation: {type: string}}, axis: {x: {padding: number, tick: {format: Function},
* type: string}, y: {padding: {bottom: number}, default: number, min: number,
* tick: {show: boolean, outer: boolean, format: Function}}}, point: {show: boolean}},
* hiddenDataFacets: Array}}
*/
const c3Config = ({ data = [], granularity, productShortLabel }) => {
const hiddenDataFacets = [];
Expand Down
4 changes: 2 additions & 2 deletions src/components/graphCard/graphCardChartLegend.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ GraphCardChartLegend.propTypes = {
/**
* Default props.
*
* @type {{datum: { dataSets: [] }, product: string, t: Function, legend: {}, chart: {hide: Function,
* toggle: Function, isToggled: Function}}}
* @type {{datum: {dataSets: Array}, product: string, viewId: string, t: Function, legend: {},
* chart: {hide: Function, toggle: Function, isToggled: Function}}}
*/
GraphCardChartLegend.defaultProps = {
chart: {
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5399,17 +5399,17 @@ eslint-plugin-jest@^23.18.0:
dependencies:
"@typescript-eslint/experimental-utils" "^2.5.0"

eslint-plugin-jsdoc@^27.0.5:
version "27.0.5"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-27.0.5.tgz#065c1ae9fa4c1219d9f960da1bba11c4f358d9e6"
integrity sha512-LU2sclCdHe4ykYlb2Jb7Nk7L6xd8PfwANV1KRgwHV78kCo/D8aeTdinNZb8BpZQEmu4HbrY82SPZIvyYumHVTQ==
eslint-plugin-jsdoc@^29.2.0:
version "29.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-29.2.0.tgz#40b1da463847750fe5aafea7182145c4108e0ab7"
integrity sha512-B1a8LWPkkxyxIp4y3pnRQR18j03Wp+V9gDE7IjQG/MvWAzp5gqXM0q71gXRAZMvWUjujAsNg8B9v1csl+/zkvw==
dependencies:
comment-parser "^0.7.5"
debug "^4.1.1"
jsdoctypeparser "^6.1.0"
jsdoctypeparser "^8.0.0"
lodash "^4.17.15"
regextras "^0.7.1"
semver "^6.3.0"
semver "^7.3.2"
spdx-expression-parse "^3.0.1"

eslint-plugin-json@^2.1.1:
Expand Down Expand Up @@ -7877,10 +7877,10 @@ jsbn@~0.1.0:
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=

jsdoctypeparser@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/jsdoctypeparser/-/jsdoctypeparser-6.1.0.tgz#acfb936c26300d98f1405cb03e20b06748e512a8"
integrity sha512-UCQBZ3xCUBv/PLfwKAJhp6jmGOSLFNKzrotXGNgbKhWvz27wPsCsVeP7gIcHPElQw2agBmynAitXqhxR58XAmA==
jsdoctypeparser@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/jsdoctypeparser/-/jsdoctypeparser-8.0.0.tgz#a04a944539d3f86e30040c1ece6f6730f865f81a"
integrity sha512-eLCs6s4JqN8TjFJfgdiLHRvogLhOAJz+5RIA2FtoMe6ZDyuvghvppnlIToqAEnVbxRqLMrfnNXpW8FpmR6IMBw==

jsdom@^11.5.1:
version "11.12.0"
Expand Down Expand Up @@ -11757,7 +11757,7 @@ semver@7.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==

semver@^7.1.1:
semver@^7.1.1, semver@^7.3.2:
version "7.3.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
Expand Down

0 comments on commit 05d918a

Please sign in to comment.