splitio / react-client

React JS SDK client for Split Software
https://split.io
Other
27 stars 10 forks source link

Refactor: no default exports #147

Closed EmilianoSanchez closed 1 year ago

EmilianoSanchez commented 1 year ago

React SDK

What did you accomplish?

Added the linter rule 'import/no-default-export', like other JavaScript-based SDKs. This rule enforces the use of named exports instead of default exports, which helps to prevent module resolution issues with some build tools, prevent bugs due to ambiguous import statements, and improve code clarity.

How do we test the changes introduced in this PR?

Extra Notes