Skip to content

Code cleanup#170

Merged
vladmandic merged 11 commits intoBinaryQuantumSoul:devfrom
awsr:code-cleanup
Apr 19, 2026
Merged

Code cleanup#170
vladmandic merged 11 commits intoBinaryQuantumSoul:devfrom
awsr:code-cleanup

Conversation

@awsr
Copy link
Copy Markdown
Contributor

@awsr awsr commented Apr 19, 2026

  • Ignore comment-only lines, trailing comments, and URLs for @stylistic/max-len rule.
  • Rewrite to avoid nested ternary (nested ternaries are nice for compactness, but that isn't necessary here and it makes it harder to read).
  • Shorten some long lines of code.
  • Document ignores waiting for resolution of feat: track CSS custom properties on CSSSourceCode eslint/css#411 .
  • Update minimum Node version to ^22.13.0 || >=24 to align with ESLint.
  • Update anonymous function syntax and add missing timeout delay.
  • Add Split to globals to resolve no-undef rule.
  • Adjust usage of logFn to resolve no-func-assign rule.
  • Lower @stylistic/max-len rule value to 240.
    • With the current configuration, the longest line (excluding comments) is now only 174 characters.
    • It's very unlikely that there would be code that cannot be rewritten to fit.

@vladmandic
Copy link
Copy Markdown
Collaborator

lgtm.

@vladmandic vladmandic merged commit 3780268 into BinaryQuantumSoul:dev Apr 19, 2026
@awsr awsr deleted the code-cleanup branch April 19, 2026 07:51
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.

2 participants