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

Use with TypeScript #248

Closed
azu opened this Issue Nov 19, 2016 · 4 comments

Comments

Projects
None yet
1 participant
@azu
Member

azu commented Nov 19, 2016

Following #247

Currently, textlint don't provide correct d.ts file.
typings/ files is for documentation.

We welcome pull request to fix this issue.

Tasks

  • Fix typings/ or Convert textlint to TypeScript.
  • Provide interface for rule creator
    • textlint rule should not depended on textlint it-self.
    • Insteadof it, textlint rule shoudl depended on rule type interface pacakge

azu added a commit that referenced this issue Nov 19, 2016

@azu azu removed the Patch Welcome label May 17, 2017

@azu

This comment has been minimized.

Show comment
Hide comment
@azu

azu Sep 23, 2017

Member

#301 @textlint/kernel is TypeScript-ed.

Member

azu commented Sep 23, 2017

#301 @textlint/kernel is TypeScript-ed.

@azu

This comment has been minimized.

Show comment
Hide comment
@azu

azu Dec 8, 2017

Member

#358 @textlint/ast-node-types has TxtNode interface, now.

Member

azu commented Dec 8, 2017

#358 @textlint/ast-node-types has TxtNode interface, now.

@azu

This comment has been minimized.

Show comment
Hide comment
@azu

azu Dec 13, 2017

Member

This will be release 10.0 #346

Member

azu commented Dec 13, 2017

This will be release 10.0 #346

@azu

This comment has been minimized.

Show comment
Hide comment
@azu

azu Dec 13, 2017

Member

@textlint/kernel exports

// Kernel
export { TextlintKernel } from "./textlint-kernel";
// Types
export {
    TextlintResult,
    TextlintFixResult,
    TextlintFixCommand,
    TextlintMessage,
    // Kernel rule/filter/plugin format
    TextlintKernelRule,
    TextlintKernelFilterRule,
    TextlintKernelPlugin,
    // Notes: Following interface will be separated module in the future.
    // textlint rule interface
    TextlintRuleCreator,
    TextlintRuleOptions,
    // textlint filter rule interface
    TextlintFilterRuleCreator,
    TextlintFilterRuleOptions,
    // textlint plugin interface
    TextlintPluginCreator,
    TextlintPluginOptions,
    TextlintPluginProcessor,
    TextlintPluginProcessorConstructor
} from "./textlint-kernel-interface";
Member

azu commented Dec 13, 2017

@textlint/kernel exports

// Kernel
export { TextlintKernel } from "./textlint-kernel";
// Types
export {
    TextlintResult,
    TextlintFixResult,
    TextlintFixCommand,
    TextlintMessage,
    // Kernel rule/filter/plugin format
    TextlintKernelRule,
    TextlintKernelFilterRule,
    TextlintKernelPlugin,
    // Notes: Following interface will be separated module in the future.
    // textlint rule interface
    TextlintRuleCreator,
    TextlintRuleOptions,
    // textlint filter rule interface
    TextlintFilterRuleCreator,
    TextlintFilterRuleOptions,
    // textlint plugin interface
    TextlintPluginCreator,
    TextlintPluginOptions,
    TextlintPluginProcessor,
    TextlintPluginProcessorConstructor
} from "./textlint-kernel-interface";

@azu azu referenced this issue Dec 13, 2017

Closed

textlint@10.0.0 #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment