build(ci): 建立单仓工具链与质量门禁
统一 pnpm 10 + Node 24.15.0 + Turborepo 单仓,落地 ESLint 9 flat、Prettier、commitlint、husky 与 Gitea CI,作为后续批次的一致门禁。
This commit is contained in:
1 parent
75cedbe97b
commit
b3a2a843bb
21 files changed
+10622
No files matched your search
@@ -0,0 +1,28 @@
|
||||
/** @type {import('@commitlint/types').UserConfig} */
|
||||
export default {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'type-enum': [
|
||||
2,
|
||||
'always',
|
||||
[
|
||||
'feat',
|
||||
'fix',
|
||||
'docs',
|
||||
'style',
|
||||
'refactor',
|
||||
'perf',
|
||||
'test',
|
||||
'build',
|
||||
'ci',
|
||||
'chore',
|
||||
'revert',
|
||||
],
|
||||
],
|
||||
'subject-case': [0],
|
||||
'subject-empty': [2, 'never'],
|
||||
'header-max-length': [2, 'always', 72],
|
||||
'subject-full-stop': [2, 'never', '。'],
|
||||
'body-max-line-length': [0],
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user