release.config.mjs tsconfig.json Breadcrumbs pages / commitlint.config.ts Latest commit brckd ci(commitlint): add content header 385c651· Nov 8, 2024 HistoryHistory File metadata and controls Code Blame 41 li
extends: ['@commitlint/config-conventional'], formatter: '@commitlint/format', rules: { 'type-enum': [ RuleConfigSeverity.Error, 'always', [ 'feat', 'fix', 'perf', 'style', 'docs', 'test', 'refactor', 'build', 'ci', 'chore', 'revert', 'wip', ...
commitlint.config.ts在开发环境下,我们需要 TypeScript提供更加安全的类型校验,他可以更好的维护项目。 commitlint.config.js是一个 JavaScript文件,通常在运行时执行,因为 JS不需要类型检查,执行更快。在执行 Husky 钩子需要在终端中运行,因为在 Node.js 环境下 JavaScript文件可以直接执行不需要额外的转译,这样可以提...
import eslintPluginVue from "eslint-plugin-vue"; /** @type {import('eslint').Linter.Config[]} */ export default [ { ignores: [ "**/*.d.ts", "**/coverage", "**/dist", ".prettierrc.ts", "commitlint.config.ts", ], }, { files: ["**/*.{ts,tpl}"] }, { languageOptio...
commitlint.config.ts886 Bytes 一键复制编辑原始数据按行查看历史 四铢半两提交于2年前.refactor(*): update to vue3 1234567891011121314151617181920212223242526272829 /* // commitlint // 项目目录下安装 npm i commitlint --save-dev npm i @commitlint/config-conventional --save-dev ...
Showing 1 changed file with 0 additions and 0 deletions. Whitespace Ignore whitespace Split Unified 0 commitlint.config.cts → commitlint.config.ts File renamed without changes. 0 comments on commit 78b24ba Please sign in to comment. ...
commitlint-config-pnpm-workspace 被封装的配置文件 如下所示: 被封装的配置文件 import { type UserConfig } from "cz-git"; /** * @description * 这个配置文件不能使用ts格式 ts不被支持 * * 该配置没有 scopes 范围 * * @see https://cz-git.qbb.sh/zh/config/#中英文对照模板 * @see https...
commitlint.config.ts2.31 KB 一键复制编辑原始数据按行查看历史 三咲智子提交于3年前.feat: check message when commit (#8166) 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 ...
templateConfig );The @angular-eslint/builder will not automatically pick up the library config location, manually provide it in angular.json:@@ -122,15 +125,11 @@ } }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": [ "src/**/*.ts", "...
npm install--save-dev @commitlint/{cli,config-conventional}# For Windows:npm install--save-dev @commitlint/config-conventional @commitlint/cli # Configure commitlint to use conventional config # 这里windows下有坑,最好直接创建commitlint.config.js然后复制进去|当然也可以创建后再调整编码和换行符 ...