feat: add ignoreClassFieldInitialValues option to no-magic-numbers by mdjermanovic · Pull Request #16539 · eslint/eslint (original) (raw)

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[x] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

Fixes #16228

What changes did you make? (Give an overview)

Added new option ignoreClassFieldInitialValues to the no-magic-numbers rule.

Is there anything you'd like reviewers to focus on?