chameleon-linter
Version:
cml规范校验工具
38 lines (37 loc) • 674 B
JavaScript
/**
* tags: Technically, it only holds all availiable tags that cml has.
*/
module.exports = {
attrs: ['c-if', 'c-else', 'c-else-if', 'c-for', 'c-for-index', 'c-for-item', 'c-model', 'c-text', 'c-show', 'c-bind', 'c-catch', 'c-key', 'c-animation'],
tags: [
'template',
'view',
'text',
'block',
'scroller',
'list',
'cell',
'image',
'switch',
'video',
'input',
'textarea',
'richtext',
'button',
'radio',
'checkbox',
'page',
'router-view',
'cover-view',
'slot',
'aside',
'col',
'container',
'foot',
'head',
'main',
'row',
'carousel',
'carousel-item'
]
}