We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The airbnb-base/legacy configuration is inheriting no-restricted-globals from variables configuration file. But this rule is set to enforce the use of Number.isFinite and Number.isNaN witch are ES6 features and not compatible with ES5 codebase.
no-restricted-globals
Number.isFinite
Number.isNaN
{ 'no-restricted-globals': [ 'error', { name: 'isFinite', message: 'Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite', }, { name: 'isNaN', message: 'Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan', }, ].concat(confusingBrowserGlobals), }
The text was updated successfully, but these errors were encountered:
Thanks! I’ll fix this shortly.
Sorry, something went wrong.
Although - the legacy config still requires you use all available polyfills, so I’m not sure there’s something to fix.
No branches or pull requests
The airbnb-base/legacy configuration is inheriting
no-restricted-globals
from variables configuration file. But this rule is set to enforce the use ofNumber.isFinite
andNumber.isNaN
witch are ES6 features and not compatible with ES5 codebase.The text was updated successfully, but these errors were encountered: