Skip to content

Commit 437f671

Browse files
committed
fix: eslint missing return doclet
1 parent 5d5f6e7 commit 437f671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ const ruleFunction = (properties, options, context = {}) => (root, result) => {
175175
* @param {object} node - A Declaration-Node from PostCSS AST-Parser.
176176
* @param {string} [longhandProp] - A Declaration-Node from PostCSS AST-Parser.
177177
* @param {string} [longhandValue] - A Declaration-Node from PostCSS AST-Parser.
178+
*
179+
* @returns {boolean} Returns `true` if invalid declaration found, else `false`.
178180
*/
179181
function lintDeclStrictValue(node, longhandProp, longhandValue) {
180182
const { value: nodeValue, prop: nodeProp } = node

0 commit comments

Comments
 (0)