/
.git-lint
71 lines (62 loc) · 1.29 KB
/
.git-lint
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[debugging]
comment = Check to Ensure no debugger commands get checked in
output = Checking for debugger commands in Javascript...
command = grep -n debugger
match = .js
print = True
condition = output
[jshint]
output = Running Jshint...
command = jshint -c %(repodir)s/.git-lint/jshint.rc
match = .js
print = False
condition = error
[coffeelint]
output = Running Coffeelint...
command = coffeelint
match = .coffee
print = False
condition = error
[jscs]
output = Running JSCS...
command = jscs -c %(repodir)s/.git-lint/jscs.rc
match = .js
print = False
condition = error
[pep8]
comment = PEP8 with some white space and line length checking turned off
output = Running pep8...
command = pep8 -r --ignore=E501,W293,W391
match = .py
print = False
condition = error
[xmllint]
output = Running xmllint...
command = xmllint
match = .xml
print = False
condition = error
[csslint]
output = Running csslint...
command = csslint --quiet
match = .css
print = False
condition = error
[eslint]
output = Running eslint...
command = eslint
match = .js
print = False
condition = error
[jsonlint]
output = Running jsonlint...
command = jsonlint -q
match = .json
print = False
condition = error
[readability]
output = Running Text Style Check
match = .rst
command = git-lint-style --min=6 --max=12
print = False
condition = error