IT4C.dev/.textlintrc.js
Ulf Gebhardt d6be15ce0d
feat(other): eslint & prettier (#302)
* eslint

* eslint fixes

* fix footer

* install prettier

* fix prettier
2025-03-20 20:11:16 +01:00

41 lines
933 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,
},
}