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

Remove some needless imports #560

Merged
merged 4 commits into from
Jun 19, 2021
Merged

Remove some needless imports #560

merged 4 commits into from
Jun 19, 2021

Conversation

jimmywarting
Copy link
Contributor

Attempt at removing lodash

index.js Outdated
@@ -105,8 +102,9 @@ const globFiles = async (patterns, {ignores, extensions, cwd}) => (
const getConfig = async options => {
const {options: foundOptions, prettierOptions} = mergeWithFileConfig(normalizeOptions(options));
options = buildConfig(foundOptions, prettierOptions);
Copy link
Member

Choose a reason for hiding this comment

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

Seems like you can just restructure directly here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what you meant, but did something

index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
@sindresorhus sindresorhus changed the title destruct Remove some needless imports Jun 19, 2021
@sindresorhus sindresorhus merged commit 3e7b77c into xojs:main Jun 19, 2021
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.

None yet

2 participants