update_lint_rules | R Documentation |
Update the rule file (.texlintrc
) which textlint checks.
To adopt the rule of the character string specified as argument. When
NULL
is given, all installed rules are applied.
update_lint_rules( rules = NULL, lintrc = ".textlintrc", overwrite = FALSE, .node_module_path = NULL )
rules |
the name of rule; see |
lintrc |
file path to .textlintrc. Default, searcing from current directory. |
overwrite |
logical. If set |
.node_module_path |
By default, it refers to the global path and local directory. If an arbitrary path is given, it refers to that path. |
## Not run: # Register all installed rules update_lint_rules() # Added a rule update_lint_rules(rules = "common-misspellings", overwrite = FALSE) # Overwrite rules update_lint_rules(rules = "common-misspellings", overwrite = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.