Skip to content

Commit a0419b3

Browse files
committed
Add jshint configuration file (from phpmyadmin/master)
1 parent 3173afe commit a0419b3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.jshintrc

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
// Show more errors
3+
"maxerr" : 1000,
4+
5+
// Globals
6+
"jquery" : true,
7+
8+
// Stricter checking
9+
"curly" : true,
10+
"immed" : true,
11+
"indent" : 4,
12+
"latedef" : true,
13+
"noarg" : true,
14+
"noempty" : true,
15+
"unused" : false,
16+
"trailing" : true,
17+
18+
// Relaxing rules
19+
"sub" : false,
20+
"funcscope" : false,
21+
"laxbreak" : false
22+
}

0 commit comments

Comments
 (0)