-
Notifications
You must be signed in to change notification settings - Fork 0
/
textlint-rule-rousseau.json
54 lines (54 loc) · 1.29 KB
/
textlint-rule-rousseau.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "textlint-rule-rousseau v1.4.1 configuration",
"oneOf": [{
"title": "Enable this rule with default options",
"type": "boolean"
}, {
"type": "object",
"properties": {
"showLevels": {
"title": "Level of importance",
"type": "array",
"items": {
"title": "Level",
"type": "string",
"enum": [
"suggestion",
"warning",
"error"
]
},
"default": ["suggestion", "warning", "error"],
"uniqueItems": true
},
"ignoreTypes": {
"title": "Ignoring type of check",
"type": "array",
"items": {
"title": "Type of message",
"type": "string",
"enum": [
"passive",
"lexical-illusion",
"so",
"adverbs",
"readibility",
"simplicity",
"weasel",
"sentence:start",
"sentence:end",
"sentence:uppercase"
]
},
"uniqueItems": true
},
"severity": {
"title": "Severity of lint messages",
"type": "string",
"enum": ["error", "warning", "info"],
"default": "error"
}
}
}]
}