question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Config clone before validating kills Object data (7.3.0)

See original GitHub issue
  • ESLint Version: 7.3.0

The latest update breaks eslint-plugin-import and I believe some other eslint plugins due to configuration cloning by JSON.parse(JSON.stringify(Object)) related PR: https://github.com/eslint/eslint/pull/13034

Any plugin that use any global property like “Infinity” wont work properly.

JSON.parse(JSON.stringify(Infinity)) => null

Configuration example https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/imports.js#L236

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:23
  • Comments:23 (17 by maintainers)

github_iconTop GitHub Comments

27reactions
boericcommented, Jun 21, 2020

Eslint is an awesome tool to ensure code style consistency, especially when paired with airbnb’s stricter rules. The eslint-config-airbnb-base, with some 3 million weekly downloads, now breaks with 7.3.0 as pointed out. A humble suggestion for the future is to integrate tests that represents how eslint is used by the most popular repos in its ecosystem (of which eslint-config-airbnb-base is one) and not break compatibility until the next major rev

5reactions
ljharbcommented, Jun 22, 2020

Given the rarity of users using print-config or cache, and considering this has been in the airbnb config for two years, it seems likely that there’s a significant amount of the ecosystem that is unaware that rule schemas must be JSON-serializable values.

I implore you to reconsider and delay this restriction until the next semver-major, and consider this a missed opportunity from the v7.0.0 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

2 Cloning Procedure - Oracle Help Center
How to clone an on-premise, fully provisioned instance of Oracle Fusion Applications and perform production-to-test data movement.
Read more >
Ext.grid.selection.Columns | ExtReact 7.3.0
A class which encapsulates a range of columns defining a selection in a grid. No members found using the current filters. configs. Optional...
Read more >
Cisco WAE 7.3.0 User Guide - Cisco
Configure LDAP server details using the WAE CLI. Example: LDAP configuration # wae_cli -u admin # conf (config)# wae ldap-config enabled (config)# ...
Read more >
JBoss EAP 7.3.0.Beta Model Reference
If this new address is incorrect please manually configure the connector to use ... Please make sure you close all JMS connections explicitly...
Read more >
QRadar APARs 101 - IBM
When QRadar Incident Forensics tries to generate a local copy using an HTTP ... the improper handling of PropertyDescriptor objects used with data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found