new textlint rule textlint-rule-no-empty-section

adjusted texts to match the rule
This commit is contained in:
Ulf Gebhardt 2023-01-03 22:04:57 +01:00
parent 2b056f854e
commit b7c9e4f77d
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
7 changed files with 79 additions and 4 deletions

View File

@ -17,7 +17,8 @@ module.exports = {
userAgent: 'textlint-rule-no-dead-link/1.0', userAgent: 'textlint-rule-no-dead-link/1.0',
maxRetryTime: 10, maxRetryTime: 10,
maxRetryAfterTime: 90 maxRetryAfterTime: 90
} },
'no-empty-section': true,
}, },
filters: { filters: {
comments: true, comments: true,

View File

@ -1 +1,4 @@
# History # History
This section shall describe how the team came to be, where our roots are and how we got to know eachother.
In general this document should point out the timeline when each person, with which project, came to the team.

View File

@ -1,5 +1,7 @@
# IT4C # IT4C
IT Team for Change website
# IT4C Website # IT4C Website
- [x] Find a web address - [x] Find a web address

View File

@ -1 +1,3 @@
# Ulf Gebhardt # Ulf Gebhardt
Describe person, Techstack etc

View File

@ -1 +1,3 @@
# Gradido # Gradido
Describe Project, Stechstack etc

64
package-lock.json generated
View File

@ -13,6 +13,7 @@
"textlint-filter-rule-comments": "^1.2.2", "textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-max-comma": "^2.0.2", "textlint-rule-max-comma": "^2.0.2",
"textlint-rule-no-dead-link": "^5.1.2", "textlint-rule-no-dead-link": "^5.1.2",
"textlint-rule-no-empty-section": "^1.1.0",
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2", "textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-no-todo": "^2.0.1", "textlint-rule-no-todo": "^2.0.1",
"vuepress": "^1.9.7", "vuepress": "^1.9.7",
@ -9671,6 +9672,12 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/map-like": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/map-like/-/map-like-1.1.3.tgz",
"integrity": "sha512-aRBWQ/8kES+dtzdRyl68J5yCJ5Q038ri6F26wPkIV0rzhqvuxlpbaVQ3aMkXWaXo3utKOxOPaVH/iDvUXi7qoQ==",
"dev": true
},
"node_modules/map-visit": { "node_modules/map-visit": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
@ -13345,6 +13352,16 @@
"integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==",
"dev": true "dev": true
}, },
"node_modules/select-section": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/select-section/-/select-section-0.4.6.tgz",
"integrity": "sha512-0WGMcD/Q6SoD/I3TfZyOstTpXZ0J072Qr+vdH+fCMEc5Z+4u/hFRQzc9prVlUpStHWH7phJ44+9nIVySyEQmTg==",
"dev": true,
"dependencies": {
"map-like": "^1.0.3",
"txt-ast-traverse": "^1.2.1"
}
},
"node_modules/selfsigned": { "node_modules/selfsigned": {
"version": "1.10.14", "version": "1.10.14",
"resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.14.tgz", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.14.tgz",
@ -15023,6 +15040,15 @@
"node": ">=6 <7 || >=8" "node": ">=6 <7 || >=8"
} }
}, },
"node_modules/textlint-rule-no-empty-section": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/textlint-rule-no-empty-section/-/textlint-rule-no-empty-section-1.1.0.tgz",
"integrity": "sha512-IZ+PgJdhs42YtIKS1y7hxAxpOMySEyMbLqSx2qv8aoslYGZuSPTWzDOXsNEl1d0ERx0GY4SFqKIP3BX9/KvrHQ==",
"dev": true,
"dependencies": {
"select-section": "^0.4.0"
}
},
"node_modules/textlint-rule-no-start-duplicated-conjunction": { "node_modules/textlint-rule-no-start-duplicated-conjunction": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/textlint-rule-no-start-duplicated-conjunction/-/textlint-rule-no-start-duplicated-conjunction-2.0.2.tgz", "resolved": "https://registry.npmjs.org/textlint-rule-no-start-duplicated-conjunction/-/textlint-rule-no-start-duplicated-conjunction-2.0.2.tgz",
@ -15324,6 +15350,13 @@
"integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==",
"dev": true "dev": true
}, },
"node_modules/txt-ast-traverse": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/txt-ast-traverse/-/txt-ast-traverse-1.2.1.tgz",
"integrity": "sha512-rxih9n0dRqIiVSKlm4Rkdz4QH4f8RvX6rZiDVXgm3Je8vpvJ4LOUXxoRoBVXNkIVpA1x5wBlNDXtdLzpaxzFIg==",
"deprecated": "See https://github.com/textlint/textlint/issues/455",
"dev": true
},
"node_modules/type-check": { "node_modules/type-check": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@ -24843,6 +24876,12 @@
"integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
"dev": true "dev": true
}, },
"map-like": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/map-like/-/map-like-1.1.3.tgz",
"integrity": "sha512-aRBWQ/8kES+dtzdRyl68J5yCJ5Q038ri6F26wPkIV0rzhqvuxlpbaVQ3aMkXWaXo3utKOxOPaVH/iDvUXi7qoQ==",
"dev": true
},
"map-visit": { "map-visit": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
@ -27808,6 +27847,16 @@
"integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==",
"dev": true "dev": true
}, },
"select-section": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/select-section/-/select-section-0.4.6.tgz",
"integrity": "sha512-0WGMcD/Q6SoD/I3TfZyOstTpXZ0J072Qr+vdH+fCMEc5Z+4u/hFRQzc9prVlUpStHWH7phJ44+9nIVySyEQmTg==",
"dev": true,
"requires": {
"map-like": "^1.0.3",
"txt-ast-traverse": "^1.2.1"
}
},
"selfsigned": { "selfsigned": {
"version": "1.10.14", "version": "1.10.14",
"resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.14.tgz", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.14.tgz",
@ -29189,6 +29238,15 @@
} }
} }
}, },
"textlint-rule-no-empty-section": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/textlint-rule-no-empty-section/-/textlint-rule-no-empty-section-1.1.0.tgz",
"integrity": "sha512-IZ+PgJdhs42YtIKS1y7hxAxpOMySEyMbLqSx2qv8aoslYGZuSPTWzDOXsNEl1d0ERx0GY4SFqKIP3BX9/KvrHQ==",
"dev": true,
"requires": {
"select-section": "^0.4.0"
}
},
"textlint-rule-no-start-duplicated-conjunction": { "textlint-rule-no-start-duplicated-conjunction": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/textlint-rule-no-start-duplicated-conjunction/-/textlint-rule-no-start-duplicated-conjunction-2.0.2.tgz", "resolved": "https://registry.npmjs.org/textlint-rule-no-start-duplicated-conjunction/-/textlint-rule-no-start-duplicated-conjunction-2.0.2.tgz",
@ -29446,6 +29504,12 @@
"integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==", "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==",
"dev": true "dev": true
}, },
"txt-ast-traverse": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/txt-ast-traverse/-/txt-ast-traverse-1.2.1.tgz",
"integrity": "sha512-rxih9n0dRqIiVSKlm4Rkdz4QH4f8RvX6rZiDVXgm3Je8vpvJ4LOUXxoRoBVXNkIVpA1x5wBlNDXtdLzpaxzFIg==",
"dev": true
},
"type-check": { "type-check": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",

View File

@ -24,6 +24,7 @@
"textlint-filter-rule-comments": "^1.2.2", "textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-max-comma": "^2.0.2", "textlint-rule-max-comma": "^2.0.2",
"textlint-rule-no-dead-link": "^5.1.2", "textlint-rule-no-dead-link": "^5.1.2",
"textlint-rule-no-empty-section": "^1.1.0",
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2", "textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-no-todo": "^2.0.1", "textlint-rule-no-todo": "^2.0.1",
"vuepress": "^1.9.7", "vuepress": "^1.9.7",