Add components
This commit is contained in:
21
slider/node_modules/eslint-plugin-vue/lib/utils/comments.js
generated
vendored
Normal file
21
slider/node_modules/eslint-plugin-vue/lib/utils/comments.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @param {Comment} node
|
||||
* @returns {boolean}
|
||||
*/
|
||||
const isJSDocComment = (node) =>
|
||||
node.type === 'Block' &&
|
||||
node.value.charAt(0) === '*' &&
|
||||
node.value.charAt(1) !== '*'
|
||||
|
||||
/**
|
||||
* @param {Comment} node
|
||||
* @returns {boolean}
|
||||
*/
|
||||
const isBlockComment = (node) =>
|
||||
node.type === 'Block' &&
|
||||
(node.value.charAt(0) !== '*' || node.value.charAt(1) === '*')
|
||||
|
||||
module.exports = {
|
||||
isJSDocComment,
|
||||
isBlockComment
|
||||
}
|
Reference in New Issue
Block a user