Skip to content

Fix JS linting error 'no-magic-numbers'#448

Merged
MariaAga merged 1 commit into
masterfrom
fix_magic_numbers
Jul 17, 2026
Merged

Fix JS linting error 'no-magic-numbers'#448
MariaAga merged 1 commit into
masterfrom
fix_magic_numbers

Conversation

@nadjaheitmann

Copy link
Copy Markdown
Collaborator

The Foreman linting requires constants to be declared instead of directly assigning numbers to variables. Otherwise, it will through the 'no-magic-numbers' error.

Corresponding Foreman core PR:

theforeman/foreman#11008

Co-Authored-By: OpenAI Codex

The Foreman linting requires constants to be declared instead of
directly assigning numbers to variables. Otherwise, it will through the
'no-magic-numbers' error.

Corresponding Foreman core PR:

theforeman/foreman#11008

Co-Authored-By: OpenAI Codex
@nadjaheitmann

Copy link
Copy Markdown
Collaborator Author

@MariaAga @adamruzicka Can I get an ACK here, please? I think it's the third PR where I am running into this :) means that code quality improves, I hope

@MariaAga MariaAga left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks

@MariaAga
MariaAga merged commit 60835d1 into master Jul 17, 2026
15 of 16 checks passed
@nadjaheitmann

Copy link
Copy Markdown
Collaborator Author

Thanks @MariaAga !

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