mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
Merge "Define documentable types in eslintrc instead of inline"
This commit is contained in:
commit
7b63f7c751
|
@ -12,5 +12,17 @@
|
|||
},
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
},
|
||||
"settings": {
|
||||
"jsdoc": {
|
||||
"preferredTypes": {
|
||||
"Indicator": "Indicator",
|
||||
"LogoOptions": "LogoOptions",
|
||||
"LogoTemplateData": "LogoTemplateData",
|
||||
"MenuDefinition": "MenuDefinition",
|
||||
"SearchData": "SearchData",
|
||||
"UserLinksDefinition": "UserLinksDefinition"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
*/
|
||||
import { placeholder, htmlUserLanguageAttributes,
|
||||
makeIcon, portletAfter } from './utils';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
*/
|
||||
import menuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
||||
import { helperMakeMenuData } from './utils';
|
||||
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
*/
|
||||
|
||||
import vectorMenuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
||||
import { htmlUserLanguageAttributes } from './utils';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
*/
|
||||
|
||||
import { htmlUserLanguageAttributes } from './utils';
|
||||
|
||||
/**
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
* @external UserLinksDefinition
|
||||
*/
|
||||
import msgs from '../i18n/en.json';
|
||||
import mustache from 'mustache';
|
||||
import { menuTemplate } from './Menu.stories.data';
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @external Indicator
|
||||
*/
|
||||
|
||||
import { htmlUserLanguageAttributes } from './utils';
|
||||
import { placeholder } from './utils';
|
||||
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @external MenuDefinition
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @return {string}
|
||||
|
|
Loading…
Reference in a new issue