Open PhiLhoSoft opened 8 years ago
Stylus supports hashes. I have a file with the declaration:
$directions = { top: { border-width: 0 ($width * 0.5) $height ($width * 0.5), border-color: transparent transparent $color transparent }, topRight: { border-width: 0 $width $height 0, border-color: transparent $color transparent transparent }, // [...] Many more }
I get these warnings:
$ stylint ./app/styles/global/mixins.styl ./app/styles/global/mixins.styl 11:1 brackets warning unnecessary bracket ./app/styles/global/mixins.styl 12:5 colons warning unnecessary colon found ./app/styles/global/mixins.styl 13:2 brackets warning unnecessary bracket ./app/styles/global/mixins.styl 15:15 colons warning unnecessary colon found
$ stylint ./app/styles/global/mixins.styl ./app/styles/global/mixins.styl 11:1 brackets warning unnecessary bracket
./app/styles/global/mixins.styl 12:5 colons warning unnecessary colon found
./app/styles/global/mixins.styl 13:2 brackets warning unnecessary bracket
./app/styles/global/mixins.styl 15:15 colons warning unnecessary colon found
I enclose the section with // @stylint off/on but I would appreciate a native support...
// @stylint off/on
Stylus supports hashes. I have a file with the declaration:
I get these warnings:
I enclose the section with
// @stylint off/on
but I would appreciate a native support...