Skip to content

Commit

Permalink
fix: less comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Col0ring committed May 10, 2022
1 parent de9f1ff commit 4fdd361
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions fixtures/less/a.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
font-size: 0;
}

// comments test
a {
span {
color: red;
Expand Down
1 change: 1 addition & 0 deletions libs/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
// postcss-less 会引起报错,暂时不用这个,直接关 at-rule-no-unknown
// customSyntax: 'postcss-less',
rules: {
'no-invalid-double-slash-comments': null,
'at-rule-no-unknown': null,
'selector-pseudo-class-no-unknown': [
true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@col0ring/stylelint-config",
"description": "Col0ring's Stylelint Config Presets",
"version": "0.0.3",
"version": "0.0.4",
"main": "./libs/index.js",
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit 4fdd361

Please sign in to comment.