Configure textlint-rule-preset-jtf-style using .textlintrc
masterThe recommended way to use the preset is to install it locally within your project. This keeps your environment clean.
- Initialize your project and install
textlintand the preset as dev dependencies:
npm init
npm install -D textlint textlint-rule-preset-jtf-styleAdd the preset to your
.textlintrcconfiguration file. Note that when using the preset name in the config, you must omit thetextlint-rule-prefix and usepreset-jtf-style.Run textlint against your target files. If running via
node_modules/.bin/textlint, it will automatically pick up the.textlintrcin the current directory.
{
"rules": {
"preset-jtf-style": true
}
}