mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Add JSHint support.
Add package.json with check and lint commands to run jshint using .jshintrc.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/npm-debug.log
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"bitwise": true,
|
||||
"browser" : true,
|
||||
"camelcase": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"indent": 4,
|
||||
"jquery" : true,
|
||||
"latedef": true,
|
||||
"maxerr": 50,
|
||||
"noarg": true,
|
||||
"node" : true,
|
||||
"noempty": true,
|
||||
"plusplus": false,
|
||||
"regexp": true,
|
||||
"strict": false,
|
||||
"trailing": true,
|
||||
"unused": true
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"check": "jshint .",
|
||||
"lint": "jshint ."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user