azu
azu
We have changed `context` to frozen object in textlint 11 - https://textlint.github.io/blog/2018/07/22/textlint-11.html#developer-freeze-rule-s-context-508-https-githubcom-textlint-textlint-issues-508 - #527 This change make following hack error. Issue: https://github.com/textlint-rule/textlint-rule-preset-google/issues/35 ``` ✖ Error Error while loading rule '@textlint-rule/preset-google/capitalization':...
Currently, textlint rule can hook `Document`. It is before-each/after-each hook point. We want to add before-all/after-all hook point for textlint rule. It allow to check across documents. Maybe, typo-check rule...
When lint no-supported file, textlint is ended silently. ``` $ textlint file.not-supported-ext ``` We want to improve this behavior. ``` $ textlint file.not-supported-ext Warning: ".not-supported-ext" file format is not supported...
Prettier has nice editor integration document. [Editor Integration · Prettier](https://prettier.io/docs/en/editors.html) [WebStorm Setup · Prettier](https://prettier.io/docs/en/webstorm.html) [the vim setup guide](https://prettier.io/docs/en/vim.html) textlint should have similar document that includes "How to introcude?". Because, I...
Currently, textlint throw error when `.textlintrc` file is encoded as Shift-JIS. We should check that the `.textlintrc` is UTF-8. ## Proposal If `.textlintrc` is not encoded by UTF-8, show error...
textlint rule should not modify AST. But, this is implicitly defined. We want to validate AST modification in the textlint-tester ESLint does this test in ESLint's rule tester. https://github.com/eslint/eslint/blob/33ca1ea67e41a05ff1283f6be36553db3904ec1f/lib/testers/rule-tester.js#L398-L399 ##...
We want to support [AsciiDoc](http://www.methods.co.nz/asciidoc/)/[Asciidoctor](http://asciidoctor.org/) format as a plugin, but there are not parser. ## Reference - [Asciidoctor :: Discussion - Asciidoc syntax definition](http://discuss.asciidoctor.org/Asciidoc-syntax-definition-td1920.html) - [Issues · asciidoctor/asciidoc-grammar-prototype](https://github.com/asciidoctor/asciidoc-grammar-prototype/issues) ## WIP...
Currently, The difference between `yarn.lock` and pacakge.json is ignored. (CI doesn't fail) We can check the difference by [yarn check --integrity](https://yarnpkg.com/lang/en/docs/cli/check/ "yarn check") command. ## Workflow Does check the difference...
[@textlint/kernel/src/index.ts](https://github.com/textlint/textlint/blob/442c297c60e77de55f07fea7c75d71ac05a6a03a/packages/%40textlint/kernel/src/index.ts "@textlint/kernel/src/index.ts") should export `SeverityLevelTypes` as `TextlintSeverityLevelTypes`. This type has been removed at "Stop to export unused name #344" @ textlint 10.0.0 #346 Because, no one use it. But, I've...
Currently, textlint following identifier format for rules: (Idenfitier is unique and shorthand of rule module) ## Rule idenfitier - **Rule module** - Example: `textlint-rule-example` - Id: `example` - **Scoped rule...