mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 19:26:51 +00:00
Merge "Define documentable types in eslintrc instead of inline"
This commit is contained in:
commit
7b63f7c751
|
@ -12,5 +12,17 @@
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"sourceType": "module"
|
"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,
|
import { placeholder, htmlUserLanguageAttributes,
|
||||||
makeIcon, portletAfter } from './utils';
|
makeIcon, portletAfter } from './utils';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
/**
|
|
||||||
* @external LogoOptions
|
|
||||||
* @external LogoTemplateData
|
|
||||||
*/
|
|
||||||
|
|
||||||
import logoTemplate from '!!raw-loader!../includes/templates/Logo.mustache';
|
import logoTemplate from '!!raw-loader!../includes/templates/Logo.mustache';
|
||||||
import wordmarkSrc from '../.storybook/resolve-imports/assets/wordmark.svg';
|
import wordmarkSrc from '../.storybook/resolve-imports/assets/wordmark.svg';
|
||||||
import tagelineScr from '../.storybook/resolve-imports/assets/tagline.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 menuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
||||||
import { helperMakeMenuData } from './utils';
|
import { helperMakeMenuData } from './utils';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external MenuDefinition
|
|
||||||
*/
|
|
||||||
|
|
||||||
import vectorMenuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
import vectorMenuTemplate from '!!raw-loader!../includes/templates/Menu.mustache';
|
||||||
import { htmlUserLanguageAttributes } from './utils';
|
import { htmlUserLanguageAttributes } from './utils';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
/**
|
|
||||||
* @external MenuDefinition
|
|
||||||
*/
|
|
||||||
import mustache from 'mustache';
|
import mustache from 'mustache';
|
||||||
import { vectorMenuTemplate as portalTemplate } from './MenuDropdown.stories.data';
|
import { vectorMenuTemplate as portalTemplate } from './MenuDropdown.stories.data';
|
||||||
import '../resources/skins.vector.styles/MenuPortal.less';
|
import '../resources/skins.vector.styles/MenuPortal.less';
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external MenuDefinition
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { htmlUserLanguageAttributes } from './utils';
|
import { htmlUserLanguageAttributes } from './utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external SearchData
|
|
||||||
*/
|
|
||||||
|
|
||||||
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
|
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
|
||||||
import Button from '!!raw-loader!../includes/templates/Button.mustache';
|
import Button from '!!raw-loader!../includes/templates/Button.mustache';
|
||||||
import { htmlUserLanguageAttributes } from './utils';
|
import { htmlUserLanguageAttributes } from './utils';
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external MenuDefinition
|
|
||||||
* @external UserLinksDefinition
|
|
||||||
*/
|
|
||||||
import msgs from '../i18n/en.json';
|
import msgs from '../i18n/en.json';
|
||||||
import mustache from 'mustache';
|
import mustache from 'mustache';
|
||||||
import { menuTemplate } from './Menu.stories.data';
|
import { menuTemplate } from './Menu.stories.data';
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external Indicator
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { htmlUserLanguageAttributes } from './utils';
|
import { htmlUserLanguageAttributes } from './utils';
|
||||||
import { placeholder } from './utils';
|
import { placeholder } from './utils';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* @external MenuDefinition
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} name
|
* @param {string} name
|
||||||
* @return {string}
|
* @return {string}
|
||||||
|
|
Loading…
Reference in a new issue