-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontract-lint.json.example
More file actions
21 lines (19 loc) · 942 Bytes
/
Copy pathcontract-lint.json.example
File metadata and controls
21 lines (19 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"//": "Example contract-lint config. Copy to .contract-lint.json at your project root,",
"//enable": "or to ~/.config/contract-ops/contract-lint.json to apply across the whole suite.",
"//precedence": "suite-wide config < project .contract-lint.json < --config PATH < --enable/--disable flags.",
"//discover": "the project file is found by walking up from the linted file's directory (like git).",
"rules": {
"//1": "Set a rule to false to disable it, or to an object to tweak it.",
"undefined-term": { "enabled": true },
"placeholder": { "enabled": true, "severity": "error" },
"numbering": { "enabled": true, "severity": "warning" },
"party-consistency": false
},
"//2": "Drop any finding whose MESSAGE matches one of these regexes (the offending term,",
"//2b": "placeholder token, cross-ref, party name, or date appears in the message).",
"ignore": [
"Force Majeure",
"Annex [0-9]"
]
}