Merge "Define documentable types in eslintrc instead of inline"

This commit is contained in:
jenkins-bot 2021-10-18 21:14:26 +00:00 committed by Gerrit Code Review
commit 7b63f7c751
11 changed files with 12 additions and 38 deletions

View file

@ -12,5 +12,17 @@
},
"parserOptions": {
"sourceType": "module"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"Indicator": "Indicator",
"LogoOptions": "LogoOptions",
"LogoTemplateData": "LogoTemplateData",
"MenuDefinition": "MenuDefinition",
"SearchData": "SearchData",
"UserLinksDefinition": "UserLinksDefinition"
}
}
}
}

View file

@ -1,6 +1,3 @@
/**
* @external MenuDefinition
*/
import { placeholder, htmlUserLanguageAttributes,
makeIcon, portletAfter } from './utils';

View file

@ -1,8 +1,3 @@
/**
* @external LogoOptions
* @external LogoTemplateData
*/
import logoTemplate from '!!raw-loader!../includes/templates/Logo.mustache';
import wordmarkSrc from '../.storybook/resolve-imports/assets/wordmark.svg';
import tagelineScr from '../.storybook/resolve-imports/assets/tagline.svg';

View file

@ -1,6 +1,3 @@
/**
* @external MenuDefinition
*/
import menuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
import { helperMakeMenuData } from './utils';

View file

@ -1,7 +1,3 @@
/**
* @external MenuDefinition
*/
import vectorMenuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
import { htmlUserLanguageAttributes } from './utils';

View file

@ -1,6 +1,3 @@
/**
* @external MenuDefinition
*/
import mustache from 'mustache';
import { vectorMenuTemplate as portalTemplate } from './MenuDropdown.stories.data';
import '../resources/skins.vector.styles/MenuPortal.less';

View file

@ -1,7 +1,3 @@
/**
* @external MenuDefinition
*/
import { htmlUserLanguageAttributes } from './utils';
/**

View file

@ -1,7 +1,3 @@
/**
* @external SearchData
*/
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
import Button from '!!raw-loader!../includes/templates/Button.mustache';
import { htmlUserLanguageAttributes } from './utils';

View file

@ -1,7 +1,3 @@
/**
* @external MenuDefinition
* @external UserLinksDefinition
*/
import msgs from '../i18n/en.json';
import mustache from 'mustache';
import { menuTemplate } from './Menu.stories.data';

View file

@ -1,7 +1,3 @@
/**
* @external Indicator
*/
import { htmlUserLanguageAttributes } from './utils';
import { placeholder } from './utils';

View file

@ -1,7 +1,3 @@
/**
* @external MenuDefinition
*/
/**
* @param {string} name
* @return {string}