-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.textlintrc.js
More file actions
26 lines (26 loc) · 759 Bytes
/
.textlintrc.js
File metadata and controls
26 lines (26 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// https://github.com/textlint/textlint/wiki/Collection-of-textlint-rule#rule-list
// module.exports = {
export default {
rules: {
// https://github.com/textlint/textlint/blob/master/docs/configuring.md#severity-config-of-rules
'no-todo': {
severity: 'warning',
},
'unexpanded-acronym': {
// AB is ignore, ABC is recognized.
min_acronym_len: 3,
// GREEEEEEN is ignore
max_acronym_len: 5,
// OSS is ignore
ignore_acronyms: ['OSS'],
},
rousseau: {
showLevels: ['suggestion', 'warning', 'error'],
ignoreTypes: ['sentence:uppercase'],
},
'common-misspellings': {
// Misspellings to be ignored (case-insensitive)
ignore: ['vue', 'vite', 'vuepress'],
},
},
}