-
-
Notifications
You must be signed in to change notification settings - Fork 23
feat: export Ignore
symbol
#79
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
base: main
Are you sure you want to change the base?
Conversation
6f6fed6
to
f675741
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs docs.
Why do you need this internal API, instead of the package that is used inside? Line 42 in 579fef8
|
@wooorm We need resolve |
Sure, I'll add after you agree to expose it. |
f675741
to
60a6ea7
Compare
@wooorm Docs updated. |
a7eba1b
to
e84476c
Compare
@wooorm How about this PR? |
You are using the internal |
The linting are executed by file level, the |
What is “project level”? What is “file level”? This package is wrapped in many things. Gulp, Atom, LSP, CLIs. |
@wooormw As the doc: engine(
{
color: true,
extensions: ['md', 'markdown', 'mkd', 'mkdn', 'mkdown'],
files: ['.'],
ignoreName: '.remarkignore',
packageField: 'remarkConfig',
pluginPrefix: 'remark',
processor: remark,
rcName: '.remarkrc'
},
done
) It runs only once all through the cli lifecycle, And with custom |
You are correct, but calling |
We do have a cache for file at: And as mentioned:
|
There are caches here too. And if you want better caches, then we can make them. That way, everyone benefits.
Very little. |
I'm not sure where it is.
Well, I personally prefer skipping funtction calls what we don't need.
I'm surely understand, but it doesn't hurt, or is there any downsides to export it, I know we should keep API as simple as possible, but I think reusing
Lines 305 to 312 in 6f35eae
|
I of course agree.
This package exposing hidden internals means that SemVer suddenly applies to them. I can no longer change the internals here without your code breaking.
I was reluctantly OK with you using |
@wooorm Maybe we can export an entry
In the meantime, I won't expect use anything internal else since then, |
Initial checklist
Description of changes
Prepare for mdx-js/eslint-mdx#502