mirror of
https://git.hmsn.ink/kospo/svcm/dmz.git
synced 2026-03-19 21:15:11 +09:00
first
This commit is contained in:
59
stylelint.config.mjs
Normal file
59
stylelint.config.mjs
Normal file
@@ -0,0 +1,59 @@
|
||||
/** @type {import('stylelint').Config} */
|
||||
export default {
|
||||
extends: ['stylelint-config-standard', 'stylelint-config-recommended-vue/scss'],
|
||||
customSyntax: 'postcss-scss',
|
||||
plugins: ['stylelint-scss'],
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.vue', '**/*.vue'],
|
||||
customSyntax: 'postcss-html',
|
||||
},
|
||||
],
|
||||
rules: {
|
||||
/** Font icons */
|
||||
'font-family-no-missing-generic-family-keyword': null,
|
||||
|
||||
/** SCSS **/
|
||||
'at-rule-no-unknown': null,
|
||||
'no-descending-specificity': null,
|
||||
'scss/at-mixin-pattern': null,
|
||||
'keyframes-name-pattern': null,
|
||||
'selector-class-pattern': null,
|
||||
'custom-property-pattern': null,
|
||||
'annotation-no-unknown': null,
|
||||
'declaration-block-no-redundant-longhand-properties': null,
|
||||
'import-notation': 'string',
|
||||
|
||||
/** Bulma **/
|
||||
'function-name-case': null,
|
||||
'scss/dollar-variable-pattern': null,
|
||||
'no-duplicate-selectors': null,
|
||||
'function-no-unknown': [
|
||||
true,
|
||||
{
|
||||
ignoreFunctions: ['findColorInvert', 'nth', 'v-bind'],
|
||||
},
|
||||
],
|
||||
|
||||
/** Vuejs **/
|
||||
'custom-property-empty-line-before': null,
|
||||
'selector-pseudo-element-no-unknown': [
|
||||
true,
|
||||
{
|
||||
ignorePseudoElements: ['/^v-deep/'],
|
||||
},
|
||||
],
|
||||
'selector-pseudo-class-no-unknown': [
|
||||
true,
|
||||
{
|
||||
ignorePseudoClasses: ['/^deep/', '/^slotted/', '/^global/'],
|
||||
},
|
||||
],
|
||||
'value-keyword-case': [
|
||||
'lower',
|
||||
{
|
||||
ignoreFunctions: ['v-bind'],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user