Move lint, precommit, shellcheck from mix aliases to mise scripts

Mix aliases should only compose mix tasks. Shell tool orchestration
(shellcheck, fd) belongs in mise scripts. This removes the mix cmd
escape hatch and makes the boundary clear: mix.exs for pure mix
composition, scripts/ for cross-toolchain orchestration.
This commit is contained in:
Claudio Ortolina
2026-04-12 12:30:59 +01:00
parent 65135a618d
commit 4a8af7be39
5 changed files with 39 additions and 32 deletions
+1 -1
View File
@@ -1 +1 @@
Run the full pre-commit check pipeline (`mix precommit`) and report the results. If any check fails, identify the specific failure and suggest a fix.
Run the full pre-commit check pipeline (`mise run dev:precommit`) and report the results. If any check fails, identify the specific failure and suggest a fix.
+5 -4
View File
@@ -34,7 +34,6 @@
"Bash(mix run:*)",
"Bash(sqlite3:*)",
"WebSearch",
"Bash(mix shellcheck:*)",
"Bash(mix compile:*)",
"mcp__tidewave__get_docs",
"mcp__tidewave__search_package_docs",
@@ -69,9 +68,12 @@
"mcp__plugin_chrome-devtools-mcp_chrome-devtools__get_console_message",
"mcp__plugin_chrome-devtools-mcp_chrome-devtools__hover",
"mcp__plugin_chrome-devtools-mcp_chrome-devtools__press_key",
"mcp__plugin_chrome-devtools-mcp_chrome-devtools__wait_for"
"mcp__plugin_chrome-devtools-mcp_chrome-devtools__wait_for",
"Bash(mise generate:*)",
"Bash(shellcheck:*)"
]
},
"enableAllProjectMcpServers": false,
"hooks": {
"PostToolUse": [
{
@@ -91,6 +93,5 @@
]
}
]
},
"enableAllProjectMcpServers": false
}
}