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

refactor(rule): prhのインライン化に対応 #69

Merged
merged 3 commits into from
Oct 20, 2019
Merged

refactor(rule): prhのインライン化に対応 #69

merged 3 commits into from
Oct 20, 2019

Conversation

azu
Copy link
Member

@azu azu commented Jul 13, 2019

textlint-scripts@3 ではデフォルトでファイルのインライン化に対応して、ブラウザでも動くようになる はず

textlint/textlint-scripts#28
https://github.com/textlint/textlint-scripts/releases/tag/3.0.0

@@ -3,7 +3,8 @@
import assert from "assert";
import preset from "../src/index";
import { TextLintCore } from "textlint";
import * as fs from "fs";
import fs from "fs";
Copy link
Member Author

Choose a reason for hiding this comment

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

Experience-Monks/babel-plugin-static-fs#17
This PR fix the workaround.

@azu azu mentioned this pull request Jul 13, 2019
3 tasks
@azu
Copy link
Member Author

azu commented Oct 20, 2019

textlint-browser-run --preset lib/index.js README.md

Work!

@azu azu merged commit ca29203 into master Oct 20, 2019
@azu azu deleted the typescript branch October 20, 2019 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant