|
106 | 106 | enable = true;
|
107 | 107 | excludes = [
|
108 | 108 | # We haven't linted these files yet
|
109 |
| - ''^config/install-sh$'' |
110 |
| - ''^misc/bash/completion\.sh$'' |
111 |
| - ''^misc/fish/completion\.fish$'' |
112 |
| - ''^misc/zsh/completion\.zsh$'' |
113 |
| - ''^scripts/create-darwin-volume\.sh$'' |
114 |
| - ''^scripts/install-darwin-multi-user\.sh$'' |
115 | 109 | ''^scripts/install-multi-user\.sh$''
|
116 | 110 | ''^scripts/install-systemd-multi-user\.sh$''
|
117 |
| - ''^src/nix/get-env\.sh$'' |
118 |
| - ''^tests/functional/ca/build-dry\.sh$'' |
119 |
| - ''^tests/functional/ca/build-with-garbage-path\.sh$'' |
120 |
| - ''^tests/functional/ca/common\.sh$'' |
121 |
| - ''^tests/functional/ca/concurrent-builds\.sh$'' |
122 |
| - ''^tests/functional/ca/eval-store\.sh$'' |
123 |
| - ''^tests/functional/ca/gc\.sh$'' |
124 |
| - ''^tests/functional/ca/import-from-derivation\.sh$'' |
125 |
| - ''^tests/functional/ca/new-build-cmd\.sh$'' |
126 |
| - ''^tests/functional/ca/nix-shell\.sh$'' |
127 |
| - ''^tests/functional/ca/post-hook\.sh$'' |
128 |
| - ''^tests/functional/ca/recursive\.sh$'' |
129 |
| - ''^tests/functional/ca/repl\.sh$'' |
130 |
| - ''^tests/functional/ca/selfref-gc\.sh$'' |
131 |
| - ''^tests/functional/ca/why-depends\.sh$'' |
132 |
| - ''^tests/functional/characterisation-test-infra\.sh$'' |
133 |
| - ''^tests/functional/common/vars-and-functions\.sh$'' |
134 | 111 | ''^tests/functional/completions\.sh$''
|
135 | 112 | ''^tests/functional/compute-levels\.sh$''
|
136 | 113 | ''^tests/functional/config\.sh$''
|
|
248 | 225 | ''^tests/functional/user-envs\.builder\.sh$''
|
249 | 226 | ''^tests/functional/user-envs\.sh$''
|
250 | 227 | ''^tests/functional/why-depends\.sh$''
|
| 228 | + |
| 229 | + # Shellcheck doesn't support fish or zsh shell syntax |
| 230 | + ''^misc/fish/completion\.fish$'' |
| 231 | + ''^misc/zsh/completion\.zsh$'' |
| 232 | + |
| 233 | + # Content-addressed test files that use recursive-*looking* sourcing |
| 234 | + # (cd .. && source <self>), causing shellcheck to loop |
| 235 | + # They're small wrapper scripts with not a lot going on |
| 236 | + ''^tests/functional/ca/build-dry\.sh$'' |
| 237 | + ''^tests/functional/ca/eval-store\.sh$'' |
| 238 | + ''^tests/functional/ca/gc\.sh$'' |
| 239 | + ''^tests/functional/ca/import-from-derivation\.sh$'' |
| 240 | + ''^tests/functional/ca/new-build-cmd\.sh$'' |
| 241 | + ''^tests/functional/ca/nix-shell\.sh$'' |
| 242 | + ''^tests/functional/ca/post-hook\.sh$'' |
| 243 | + ''^tests/functional/ca/recursive\.sh$'' |
| 244 | + ''^tests/functional/ca/repl\.sh$'' |
| 245 | + ''^tests/functional/ca/selfref-gc\.sh$'' |
| 246 | + ''^tests/functional/ca/why-depends\.sh$'' |
251 | 247 | ];
|
252 | 248 | };
|
253 | 249 | };
|
|
0 commit comments