IT4C.dev/.textlintrc.cjs
Ulf Gebhardt 33310a43c5
refactor(other): eslint config it4c advanced (#650)
* rename test:lint:eslint to lint and update eslint-config-it4c package

* simplify config and make it ts

* jest update & ts

* suppress server logging output in tests

* remove test node_env as it is default for jest

* use eslint-config-it4c

* packages = module

* fix tailwind as ts

* eslitn autofix

* more fixes

* tsconfig & some eslint rules

* fixes

* more fixes

* more exceptions

* do not allow warnings

* fix config

* ignore vuepress generated configs

* ts include fix
2026-02-14 17:34:37 +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,
},
}