Skip to content

*: don't put functions inside of conditionals#60514

Open
classabbyamp wants to merge 1 commit into
void-linux:masterfrom
classabbyamp:conditional-functions
Open

*: don't put functions inside of conditionals#60514
classabbyamp wants to merge 1 commit into
void-linux:masterfrom
classabbyamp:conditional-functions

Conversation

@classabbyamp
Copy link
Copy Markdown
Member

lint added in leahneukirchen/xtools#353

this should be an anti-pattern because it can make refactors harder and template logic more complex

Testing the changes

  • I tested the changes in this PR: YES|briefly|NO

@classabbyamp classabbyamp force-pushed the conditional-functions branch 2 times, most recently from 997e22c to f287c65 Compare May 12, 2026 13:13
lint added in leahneukirchen/xtools#353

this should be an anti-pattern because it can make refactors harder and
template logic more complex
@classabbyamp classabbyamp force-pushed the conditional-functions branch from f287c65 to 035942c Compare May 12, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant