Skip to content
New issue

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

Use ES modules #82

Merged
merged 2 commits into from
Jul 2, 2021
Merged

Use ES modules #82

merged 2 commits into from
Jul 2, 2021

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jul 1, 2021

Background in #50.
Depends on #79 to drop support for Node <12.

This switches to using ES modules.

@@ -1,5 +1,6 @@
import test from 'ava';
import figures, {replaceSymbols, mainSymbols, windowsSymbols} from '.';
// eslint-disable-next-line unicorn/import-index, import/extensions
Copy link
Collaborator Author

@ehmicky ehmicky Jul 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this comment requires upgrading xo.
However, upgrading xo depends on #79 (dropping support for Node <12). Once #79 and this PR are merged, I can make a new PR to upgrade xo.

@sindresorhus sindresorhus merged commit 435595c into main Jul 2, 2021
@sindresorhus sindresorhus deleted the chore/esm branch July 2, 2021 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants