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

Update: Allow eslint:all and eslint:recommended paths to be passed in #11

Merged
merged 4 commits into from Oct 15, 2020

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Oct 12, 2020

This change allows us to pass in the location of eslint:all and eslint:recommended configs from the main eslint project.

This is necessary for proper calculation of configs at runtime while allowing eslint to be the source of truth for that information.

@nzakas nzakas added the enhancement New feature or request label Oct 12, 2020
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

Code LGTM.

Small suggestion: might be nice to update typedefs for CascadingConfigArrayFactoryOptions, CascadingConfigArrayFactoryInternalSlots, ConfigArrayFactoryOptions, and ConfigArrayFactoryInternalSlots.

Question: what's the plan for tests in this repository? (we are currently running tests from tests/lib/shared only; other tests are more or less broken).

@nzakas
Copy link
Member Author

nzakas commented Oct 13, 2020

I’m going to circle back and do the tests as part of the next step. They need to be overhauled completely to work in this repo, so I figure I’ll bundle that work with removing the corresponding test files from the eslint repo.

Totally missed the typedefs. I’ll update those.

@nzakas
Copy link
Member Author

nzakas commented Oct 13, 2020

Updated type info.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@yeonjuan yeonjuan left a comment

Choose a reason for hiding this comment

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

one minor typo:) other things LGTM!

lib/shared/types.js Outdated Show resolved Hide resolved
Co-authored-by: YeonJuan <yeonjuan93@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants