This repository has been archived by the owner on May 23, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
3.0.0 #28
Comments
|
This was referenced Jul 7, 2019
Browser suppport test tool |
We will release it at tommorow. If you found an issue, please tell us. Try to beta:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
3.0.0 Beta-0
This is beta release
You can try it:
Summary
Breaking Changes 🔥
textlint-script build
output compatible code for ES2015+.It means that output code is not work on IE11.
Support Async Function ⭐️
Async/Await is supported by default.
Inline static resources by default ⭐️
textlint-script build
inline Node fs calls with babel-plugin-static-fs for browser compatibility.will be
📝 You want to disable this behavior, set
NO_INLINE
env likeNO_INLINE=1 textlint-scripts build
.Support TypeScript 🌟
textlint-script build
andtextlint-script test
support TypeScript.You can write textlint rule with TypeScript.
Migration Guide
If you want to write textlint rule with TypeScript, you can migrate it by following steps:
.js
to.ts
@textlint/types provide types for textlint rule.
npm test
andnpm run build
.Migration Scrips: @textlint/migrate-textlint-scripts-typescript
We also prepare migration script from textlint-script with JavaScript to textlint-script with TypeScript.
Migration script help you to do step 1.
For more details, see @textlint/migrate-textlint-scripts-typescript.
Examples:
The text was updated successfully, but these errors were encountered: