14.0.4 • Published 2 months ago

@textlint/source-code-fixer v14.0.4

Weekly downloads
4,772
License
MIT
Repository
github
Last release
2 months ago

@textlint/source-code-fixer

Apply @textlint/kernel lint result to text.

Almost user just use @textlint/kernel's fixText API instead of This package.

This package provide primitive functions for @textlint/kernel.

Install

Install with npm:

npm install @textlint/source-code-fixer

Usage

import { TextlintKernel } from "@textlint/kernel";
import { applyFixesToText } from "@textlint/source-code-fixer";
const kernel = new TextlintKernel();
const text = "text";
const result = kernel.lintText(text, {
    ...
});
const fixedOutput = applyFixesToText(text, result.messages);

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

14.0.4

2 months ago

14.0.3

2 months ago

14.0.2

3 months ago

14.0.1

3 months ago

14.0.0

3 months ago

13.4.2-next.0

3 months ago

13.4.1

5 months ago

13.3.3

10 months ago

13.4.0

6 months ago

13.3.2

1 year ago

13.3.1

1 year ago

13.1.3

1 year ago

13.1.4

1 year ago

13.0.5

1 year ago

13.2.0

1 year ago

13.1.1

1 year ago

13.3.0

1 year ago

13.1.2

1 year ago

13.1.0

1 year ago

13.0.4

1 year ago

13.0.2

1 year ago

13.0.3

1 year ago

13.0.0

1 year ago

13.0.1

1 year ago

12.6.1

1 year ago

12.5.2

1 year ago

12.3.0

1 year ago

12.5.0

1 year ago

12.6.0

1 year ago

12.2.3

1 year ago

12.2.2

2 years ago

12.2.1

2 years ago

12.2.0

2 years ago

12.1.1

2 years ago

12.1.0

2 years ago

12.0.2

3 years ago

12.0.0-beta.2

3 years ago

12.0.0-beta.3

3 years ago

12.0.0-beta.0

3 years ago

12.0.0-beta.1

3 years ago

12.0.0

3 years ago

3.4.5

3 years ago

3.4.4

3 years ago

3.4.3

3 years ago

3.4.2

3 years ago

3.4.1

3 years ago

3.4.0

3 years ago