Last active
February 29, 2024 00:45
-
-
Save nyagihime/67eaa0bf59dc739c0155d97d848992ef to your computer and use it in GitHub Desktop.
.stylelintrc for Vue Project
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
extends: | |
- 'stylelint-config-recess-order' | |
overrides: | |
- files: | |
- '*.css' | |
- '**/*.css' | |
extends: | |
- 'stylelint-config-recommended' | |
- files: | |
- '*.scss' | |
- '**/*.scss' | |
extends: | |
- 'stylelint-config-recommended' | |
- 'stylelint-config-recommended-scss' | |
- 'stylelint-config-sass-guidelines' | |
rules: | |
scss/percent-placeholder-pattern: '^_[a-z]+([a-z0-9-_]+[a-z0-9]+)?$' | |
scss/at-function-pattern: '^[a-z]+(-[a-z]+)*$' | |
- files: | |
- '*.vue' | |
- '**/*.vue' | |
extends: | |
- 'stylelint-config-recommended' | |
- 'stylelint-config-recommended-scss' | |
- 'stylelint-config-sass-guidelines' | |
- 'stylelint-config-recommended-vue' | |
rules: | |
scss/percent-placeholder-pattern: '^_[a-z]+([a-z0-9-_]+[a-z0-9]+)?$' | |
scss/at-function-pattern: '^[a-z]+(-[a-z]+)*$' | |
rules: | |
max-nesting-depth: 5 | |
selector-max-compound-selectors: 5 | |
selector-pseudo-element-no-unknown: true | |
selector-pseudo-element-colon-notation: 'double' | |
at-rule-no-unknown: | |
- true | |
- ignoreAtRules: | |
- 'function' | |
- 'return' | |
- 'if' | |
- 'else' | |
- 'each' | |
- 'mixin' | |
- 'include' | |
- 'import' | |
- 'extend' | |
- 'use' | |
- 'forward' | |
- 'for' | |
declaration-empty-line-before: | |
- always | |
- except: | |
- after-comment | |
- after-declaration | |
- first-nested | |
no-descending-specificity: null | |
order/properties-alphabetical-order: null | |
function-no-unknown: null | |
selector-class-pattern: | |
- "" | |
- resolveNestedSelectors: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment