UNPKG
stylelint-order
Version:
latest (8.1.3)
8.1.3
8.1.2
8.1.1
8.1.0
8.0.0
7.0.1
7.0.0
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.0.0
4.1.0
4.0.0
3.1.1
3.1.0
3.0.1
3.0.0
2.2.1
2.2.0
2.1.0
2.0.0
1.0.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
A collection of order related linting rules for Stylelint.
stylelint-order
/
utils
/
isLessMixin.js
8 lines
(6 loc)
•
137 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
/** * Check whether a property is a Less mixin */
export
function
isLessMixin
(
node
) {
return
node.
type
===
'atrule'
&& node.
mixin
; }