Introduce a new rule for checking common interchange problems
What changes did you make? (Give an overview)
Added a rule for:
non-finite (Infinity, null, NaN) values.
lone surrogates due to UTF16
Related Issues
fixes #29
Is there anything you'd like reviewers to focus on?
tests are somewhat limited by using already parsed values so I avoided trying to reparse for getting exact locations within strings and/or couldn't check array/string bounds since things error before getting to the rules processing phase.
Prerequisites checklist
What is the purpose of this pull request?
Introduce a new rule for checking common interchange problems
What changes did you make? (Give an overview)
Added a rule for:
Related Issues
fixes #29
Is there anything you'd like reviewers to focus on?
tests are somewhat limited by using already parsed values so I avoided trying to reparse for getting exact locations within strings and/or couldn't check array/string bounds since things error before getting to the rules processing phase.