45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm install)",
|
|
"Bash(npm install:*)",
|
|
"Bash(npm run lint)",
|
|
"Bash(npm run lint:*)",
|
|
"Bash(npm run build)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(npm start)",
|
|
"Bash(npm run start:*)",
|
|
"Bash(yarn)",
|
|
"Bash(yarn install)",
|
|
"Bash(yarn lint)",
|
|
"Bash(yarn build)",
|
|
"Bash(yarn start)",
|
|
"Bash(npx eslint:*)",
|
|
"Bash(git status:*)",
|
|
"Bash(git diff:*)",
|
|
"Bash(git log:*)",
|
|
"Bash(git show:*)",
|
|
"Bash(git branch:*)",
|
|
"Bash(git ls-files:*)",
|
|
"Bash(git rev-parse:*)",
|
|
"Bash(ls:*)",
|
|
"Bash(pwd)",
|
|
"Bash(wc:*)",
|
|
"Bash(node -e:*)",
|
|
"Bash(node --version)"
|
|
],
|
|
"deny": [
|
|
"Bash(rm -rf /:*)",
|
|
"Bash(git push --force:*)",
|
|
"Bash(git reset --hard:*)",
|
|
"Bash(git commit --amend:*)",
|
|
"Bash(git checkout -- .:*)",
|
|
"Bash(git clean -f:*)",
|
|
"Bash(git branch -D:*)",
|
|
"Bash(npm publish:*)",
|
|
"Bash(yarn publish:*)"
|
|
]
|
|
}
|
|
}
|