Conversation
1addbf6 to
b082225
Compare
|
No New Or Fixed Issues Found |
d25b558 to
619e1ac
Compare
619e1ac to
b1bf35b
Compare
|
Summarization of my previous concerns and desired behavior on this topic. CI:
Local:
Downsides over husky/alternatives.
I still have a hard time seeing the value of throwing a ton of linters on a codebase over focusing on enabling more eslint rules for pain points we've encountered. If this becomes the standard the owner of this effort will need to spend time ensuring it runs smoothly in all repositories prior to disabling any existing workflows. |
.git-hooks/pre-commit
Outdated
| if npx mega-linter-runner --remove-container --fix --filesonly $FILES; then | ||
| echo "$FILES" | xargs git add | ||
| exit 0 | ||
| fi | ||
|
|
||
| exit 1 |
There was a problem hiding this comment.
Open to suggestions on cleaner Bash scripting for this flow.
|
Current thoughts:
|
|
The above PR from Mega-Linter is merged and a beta "formatters-only" flavor now exists and I put it in use here. We'll want to see it leave beta before we merge ourselves. |

🎟️ Tracking
Internal change.
🚧 Type of change
📔 Objective
Adds the Mega-Linter via its runner package and executes it for staged file linting. Relates to #2 and its Actions-based approach. Will lint and apply fixes.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes