ocelot.social/.textlintrc.js
2025-10-28 15:09:03 +01:00

36 lines
894 B
JavaScript

module.exports = {
rules: {
'no-todo': true,
'no-start-duplicated-conjunction': {
interval : 2, // interval of sentences
},
'max-comma': false,
/*'no-dead-link': {
checkRelative: true,
baseURI: null,
ignore: ['http://localhost*'],
preferGET: [],
ignoreRedirects: false,
retry: 3,
userAgent: 'textlint-rule-no-dead-link/1.0',
maxRetryTime: 10,
maxRetryAfterTime: 90
},*/
'no-empty-section': true,
'textlint-rule-no-empty-element': true,
'period-in-list-item': false,
'@textlint-rule/no-unmatched-pair': true,
'no-zero-width-spaces': true,
'doubled-spaces': true,
'common-misspellings': {
// Misspellings to be ignored (case-insensitive)
ignore: ['Autor', 'Exemple'],
},
'write-good': false,
'apostrophe': true,
},
filters: {
comments: true,
},
}