纸飞机的信笺
博客Awesome开源Demos制品库样板与配置

系统

command常用命令行
vscodeVSCode

通用

licenseLICENSE 许可
editorconfigEditorConfig
gitGit
typescriptTypeScript

Agent

claudeClaude Code
codexCodex

开发配置

nextjsNext.js
viteVite
vitestVitest
postcssPostCSS
rollupRollup
eslintESLint
prettierPrettier
tailwindcssTailwindCSS

包管理

npmnpm
nodejspackage.json

代码质量

huskyHusky
commitizenCommitizen
commitlintCommitLint
lintstagedLintStaged

传统

webpackWebpack
babelBabel
craCreateReactApp

杂项

monorepoMonorepo

lintstagedLintStaged

初始化.lintstagedrc

可在 GitHub 文档页 了解 LintStaged 的用法。

安装 lint-staged:

npm add -D lint-staged

配置 husky: 可以配置 pre-commit hook,在提交前对文件进行检查; 在 Husky / LintStaged 章节查看如何配置。

完成以上配置后,可在 LintStaged / .lintstagedrc 章节查看配置。