LMC’s config for textlint
Textlint doesn’t support "extends" convention, thus we created rule-preset, a collection of rules and rulesConfig.
#Yarn
yarn add -D @lmc-eu/textlint-rule-preset-lmc
# npm
npm i --save-dev @lmc-eu/textlint-rule-preset-lmc
// .textlintrc.js
'use strict';
module.exports = {
rules: {
'@lmc-eu/textlint-rule-preset-lmc': true,
},
};
.textlintrc or .textlintrc.json
{
"rules": {
"@lmc-eu/textlint-rule-preset-lmc": true
}
}
See the LICENSE file for more information.