1 Star 0 Fork 0

宋先生 / clash-nyanpasu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.lintstagedrc.js 716 Bytes
一键复制 编辑 原始数据 按行查看 历史
export default {
"*.{js,cjs,.mjs,jsx}": ["prettier --write", "eslint --cache --fix"],
"*.{ts,tsx}": [
"prettier --write",
"eslint --cache --fix",
() => "tsc -p tsconfig.json --noEmit",
],
"backend/**/*.{rs,toml}": [
() =>
"cargo clippy --manifest-path=./backend/Cargo.toml --all-targets --all-features",
() => "cargo fmt --manifest-path ./backend/Cargo.toml --all",
// () => 'cargo test --manifest-path=./backend/Cargo.toml',
// () => "cargo fmt --manifest-path=./backend/Cargo.toml --all",
],
"*.{html,sass,scss,less}": ["prettier --write", "stylelint --fix"],
"package.json": ["prettier --write"],
"*.{md,json,jsonc,json5,yaml,yml,toml}": ["prettier --write"],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xgsong/clash-nyanpasu.git
git@gitee.com:xgsong/clash-nyanpasu.git
xgsong
clash-nyanpasu
clash-nyanpasu
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891