We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@textlint/config-loader is the only one that treat tetlintrc.
We can improve validation on loading textlintrc.
It is just loading error. textlint try to load invalid-rule module, but it doest not exists.
invalid-rule
{ "rules": { "invalid-rule": true } }
This case preset-abc does not have invalid-rule. Currently, It will be just ignored, but we can validate it.
preset-abc
{ "rules": { "preset-abc": { "a": true, "b": false, "invalid-rule": { "key": true } } } }
📝 We can not validate rule option values It needs to get option schema #700
Create JSON Schema dynamically.
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
{ "$schema": "./node_modules/textlint/schema.json", "rules": { "preset-abc": { "a": true, "b": false, "invalid-rule": { "key": true } } } }
However, It is not useful at current. Blocker: #700
We can start static JSON Schema.
{ "$schema": "https://textlint.github.io/schema.json", "rules": { "preset-abc": { "a": true, "b": false, "invalid-rule": { "key": true } } } }
More idea...
The text was updated successfully, but these errors were encountered:
📝 Example Case: https://twitter.com/azu_re/status/1628934056883912704
https://github.com/textlint/textlint/releases/tag/v13.0.0
Remove undocumented way to override preset rule option
Sorry, something went wrong.
No branches or pull requests
@textlint/config-loader is the only one that treat tetlintrc.
We can improve validation on loading textlintrc.
✅ Detect invalid rule name
It is just loading error.
textlint try to load
invalid-rule
module, but it doest not exists.Detect invalid child rule name of preset
This case
preset-abc
does not haveinvalid-rule
.Currently, It will be just ignored, but we can validate it.
📝 We can not validate rule option values
It needs to get option schema #700
Dynamic JSON Schema
Create JSON Schema dynamically.
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
However, It is not useful at current. Blocker: #700
We can start static JSON Schema.
More idea...
The text was updated successfully, but these errors were encountered: