-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
refactor(textlint): export as ES module #344
Conversation
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.
LGTM
TextLintCore, | ||
// Constant Types | ||
TextLintMessageType: MessageType, | ||
TextLintMessageSeverityLevel: SeverityLevel, |
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.
No user.
Can be removed.
// Core API for linting a **single** text or file. | ||
TextLintCore, | ||
// Constant Types | ||
TextLintMessageType: MessageType, |
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.
No user.
Can be removed
// Constant Types | ||
TextLintMessageType: MessageType, | ||
TextLintMessageSeverityLevel: SeverityLevel, | ||
TextLintNodeType |
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.
Some user.
But it is for testing.
The user can use @textlint/ast-node-types
insteadof it.
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.
I've filed related issues and note it as BREAKING CHANGE.
textlint/textlint-filter-rule-allowlist#1
textlint/textlint-rule-report-node-types#2
textlint/textlint-filter-rule-node-types#9
📝 textlint 10.0.0 notes
@Leko Thanks for work! |
This PR closes #337
Additional changes
FIXME
comment because test passed even if remove constant types.