Files
his/healthlink-his-ui/.stylelintrc.cjs
华佗 893cbf1fe0 refactor: 彻底清除所有openhis痕迹
- 重命名目录: openhis-server-new → healthlink-his-server
- 重命名目录: openhis-ui-vue3 → healthlink-his-ui
- 重命名Java类: OpenHisApplication → HealthLinkHisApplication
- 重命名Java类: OpenHisMiniApp → HealthLinkHisMiniApp
- 重命名组件目录: OpenHis → HealthLinkHis
- 重命名样式文件: openhis.scss → healthlink-his.scss
- 重命名配置: nginx-openhis.conf → nginx-healthlink-his.conf
- 更新所有源码引用 (0个残留)
- 更新所有文档/脚本/配置中的引用
2026-06-05 13:36:28 +08:00

45 lines
1.3 KiB
JavaScript
Executable File

/*
* @Author: yangbo@bjgoodwill.com
* @Date: 2024-10-14 09:52:54
* @Description:
*/
module.exports = {
plugins: ['stylelint-scss'],
extends: [
'stylelint-config-standard',
'stylelint-config-standard-scss',
'stylelint-config-recommended',
'stylelint-config-recommended-vue/scss',
'stylelint-config-rational-order',
],
overrides: [
{
files: ['*.scss', '**/*.scss'],
customSyntax: 'postcss-scss',
},
{
files: ['*.html', '**/*.html', '*.vue', '**/*.vue'],
customSyntax: 'postcss-html',
},
],
rules: {
'no-descending-specificity': null,
'font-family-no-missing-generic-family-keyword': null,
'selector-type-no-unknown': null,
'at-rule-no-unknown': null,
'no-duplicate-selectors': null, // 关闭强制选择器类名的格式
'no-empty-source': null, // 关闭禁止空源码
'selector-class-pattern': null,
'number-leading-zero': null,
'scss/dollar-variable-pattern': /[a-z][a-zA-Z]+/,
'color-function-notation': 'legacy',
'selector-pseudo-class-no-unknown': [
// 不允许未知的选择器
true,
{
ignorePseudoClasses: ['deep'], // 忽略属性,修改
},
],
},
};