ocelot.social/.textlintrc.js
2023-11-21 18:02:37 +01:00

41 lines
936 B
JavaScript

module.exports = {
rules: {
'no-todo': true,
'no-start-duplicated-conjunction': {
interval : 2, // interval of sentences
},
'max-comma': {
max : 4,
},
/*'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': true,
'@textlint-rule/no-unmatched-pair': true,
'no-zero-width-spaces': true,
'doubled-spaces': true,
'common-misspellings': {
// Misspellings to be ignored (case-insensitive)
ignore: [],
},
'write-good': {
passive: false,
thereIs: false
},
'apostrophe': true,
},
filters: {
comments: true,
},
}