Conversation
6f6fed6 to
f675741
Compare
|
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, |
|
Friendly ping @wooorm |
|
Thanks for the ping. I don‘t want to expose more internal APIs. The interface of this package is to use |
This comment has been minimized.
This comment has been minimized.
|
OK, that's fine. Just use absolute path hack to import the hidden API then. |
Initial checklist
Description of changes
Prepare for mdx-js/eslint-mdx#502