gh-here 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,19 @@
1
1
  {
2
2
  "permissions": {
3
3
  "allow": [
4
- "Bash(chmod:*)",
5
- "Bash(npm install)",
6
- "Bash(npm start)",
7
- "Bash(pkill:*)",
8
- "Bash(node:*)",
9
- "Bash(curl:*)",
10
- "Bash(npm install:*)",
11
- "Bash(git init:*)",
4
+ "Bash(if [ -f scripts/lint ])",
5
+ "Bash(then scripts/lint)",
6
+ "Bash(elif [ -f script/lint ])",
7
+ "Bash(then script/lint)",
8
+ "Bash(elif [ -f package.json ])",
9
+ "Bash(then npm run lint)",
10
+ "Bash(else echo \"No linting script found\")",
11
+ "Bash(fi)",
12
+ "Bash(git checkout:*)",
12
13
  "Bash(git add:*)",
13
14
  "Bash(git commit:*)",
14
- "Bash(git rm:*)",
15
- "Bash(ssh:*)",
16
- "Bash(git restore:*)",
17
- "Bash(npx gh-here:*)",
18
- "Bash(git checkout:*)",
19
15
  "Bash(git push:*)",
20
- "Bash(git pull:*)",
21
- "Bash(npm publish:*)",
22
- "Bash(timeout:*)",
23
- "Bash(npm version:*)"
16
+ "Bash(gh pr view:*)"
24
17
  ],
25
18
  "deny": [],
26
19
  "ask": []