textlint-rule / textlint-rule-prh

textlint rule for prh.
MIT License
82 stars 6 forks source link

test: migrate to new API #95

Closed azu closed 9 months ago

azu commented 1 year ago

textlint v13 introduce new API. test code use deprecated APIs. We want to migrate it.

However, We can remove these tests because all tests will be rewritten by textlint-tester. No need to use textlint APIs. https://github.com/textlint-rule/textlint-rule-prh/blob/master/test/textlintrc-test.js https://github.com/textlint-rule/textlint-rule-prh/blob/master/test/prh-rule-test.js

azu commented 1 year ago

Probably, these tests were created before textlint-tester is created.

azu commented 9 months ago

https://github.com/textlint/textlint/blob/master/packages/%40textlint/legacy-textlint-core/README.md

Migrate to @textlint/legacy-textlint-core in #104