Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added stylelinter
- Loading branch information
1 parent
f951ce5
commit 154a14f
Showing
5 changed files
with
873 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module.exports = { | ||
processors: [ | ||
'stylelint-processor-html', | ||
], | ||
extends: [ | ||
'stylelint-config-standard', | ||
], | ||
rules: { | ||
'no-empty-source': null, // prevent errors on Vue components without the style block | ||
'selector-pseudo-element-colon-notation': 'single', | ||
'at-rule-no-unknown': [true, { | ||
ignoreAtRules: [ | ||
'include', | ||
'if', | ||
'else', | ||
'each', | ||
'for', | ||
'mixin', | ||
'content', | ||
'function' | ||
] | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.