
- 新增我的课程列表API接口 - 支持按学习状态筛选(全部/学习中/已完结) - 支持分页查询 - 包含课程基本信息、学习进度等数据 - 添加Apifox接口文档配置指南 文件变更: - server/api/admin/mycourse/mycourse.go - API接口定义 - server/internal/controller/admin/mycourse/mycourse.go - 控制器层 - server/internal/service/mycourse.go - 服务层(模拟数据) - server/internal/router/admin.go - 路由配置 - docs/apifox_config.md - 接口文档
71 lines
1.6 KiB
JavaScript
71 lines
1.6 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
plugins: ['stylelint-order'],
|
|
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
|
|
rules: {
|
|
'selector-pseudo-class-no-unknown': [
|
|
true,
|
|
{
|
|
ignorePseudoClasses: ['global'],
|
|
},
|
|
],
|
|
'selector-pseudo-element-no-unknown': [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ['v-deep'],
|
|
},
|
|
],
|
|
'at-rule-no-unknown': [
|
|
true,
|
|
{
|
|
ignoreAtRules: [
|
|
'tailwind',
|
|
'apply',
|
|
'variants',
|
|
'responsive',
|
|
'screen',
|
|
'function',
|
|
'if',
|
|
'each',
|
|
'include',
|
|
'mixin',
|
|
],
|
|
},
|
|
],
|
|
'no-empty-source': null,
|
|
'named-grid-areas-no-invalid': null,
|
|
'unicode-bom': 'never',
|
|
'no-descending-specificity': null,
|
|
'font-family-no-missing-generic-family-keyword': null,
|
|
'declaration-colon-space-after': 'always-single-line',
|
|
'declaration-colon-space-before': 'never',
|
|
// 'declaration-block-trailing-semicolon': 'always',
|
|
'rule-empty-line-before': [
|
|
'always',
|
|
{
|
|
ignore: ['after-comment', 'first-nested'],
|
|
},
|
|
],
|
|
'unit-no-unknown': [true, { ignoreUnits: ['rpx'] }],
|
|
'order/order': [
|
|
[
|
|
'dollar-variables',
|
|
'custom-properties',
|
|
'at-rules',
|
|
'declarations',
|
|
{
|
|
type: 'at-rule',
|
|
name: 'supports',
|
|
},
|
|
{
|
|
type: 'at-rule',
|
|
name: 'media',
|
|
},
|
|
'rules',
|
|
],
|
|
{ severity: 'warning' },
|
|
],
|
|
},
|
|
ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'],
|
|
};
|