代码拉取完成,页面将自动刷新
同步操作将从 卓源软件/JeeSite 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
* No deletion without permission, or be held responsible to law.
* @author ThinkGem
*/
export default {
root: true,
plugins: ['stylelint-prettier', 'stylelint-less', '@stylistic/stylelint-plugin'],
extends: ['stylelint-config-standard', 'stylelint-config-standard-less'],
ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'],
overrides: [
{
files: ['*.(html|vue)', '**/*.(html|vue)'],
customSyntax: 'postcss-html',
extends: ['stylelint-config-recommended-vue'],
rules: {
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global', 'deep'],
},
],
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep', 'v-global', 'v-slotted'],
},
],
},
},
{
files: ['*.less', '**/*.less'],
customSyntax: 'postcss-less',
extends: ['stylelint-config-recommended-less'],
},
{
files: ['*.scss', '**/*.scss'],
customSyntax: 'postcss-scss',
extends: ['stylelint-config-recommended-scss', 'stylelint-config-recommended-vue/scss'],
},
],
rules: {
'prettier/prettier': [
true,
{
preferPositionShorthand: 'never',
preferOverflowShorthand: 'separate',
},
],
'media-feature-range-notation': null,
'selector-not-notation': null,
'import-notation': null,
'function-no-unknown': null,
'selector-class-pattern': null,
'at-rule-prelude-no-invalid': null,
'declaration-property-value-no-unknown': null,
'declaration-property-value-keyword-no-deprecated': null,
'declaration-property-value-disallowed-list': {
inset: [/.*/], // 禁止所有 inset 属性值
},
// 允许使用传统属性
'declaration-property-value-allowed-list': {
top: [/.*/],
right: [/.*/],
bottom: [/.*/],
left: [/.*/],
},
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global', 'deep'],
},
],
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'extends',
'ignores',
'include',
'mixin',
'if',
'else',
'media',
'for',
'at-root',
'unocss',
'apply',
'variants',
'responsive',
'screen',
'function',
'each',
'use',
'forward',
'return',
],
},
],
'no-empty-source': null,
'named-grid-areas-no-invalid': null,
'no-descending-specificity': null,
'font-family-no-missing-generic-family-keyword': null,
'media-query-no-invalid': null,
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'first-nested'],
},
],
'unit-no-unknown': [true, { ignoreUnits: ['rpx'] }],
'no-duplicate-selectors': null,
},
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。