Skip to content

Commit 97a370c

Browse files
committed
update packages and fix overall grunt run
1 parent 36b8544 commit 97a370c

File tree

4 files changed

+202
-202
lines changed

4 files changed

+202
-202
lines changed

.jscsrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,11 @@
99
"disallowTabs": true,
1010
"disallowTrailingWhitespace": true,
1111
"requireCurlyBraces": true,
12-
//"requireKeywordsOnNewLine": ["else", "catch"],
13-
//"requireSemicolons": true,
14-
//"requireSpaceAfterBinaryOperators": true,
15-
//"requireSpaceAfterComma": {"allExcept": ["trailing"]},
1612
"requireSpaceAfterKeywords": ["do","for","if","else","switch","case","try","while"],
1713
"requireSpaceBeforeBlockStatements": 1,
1814
"requireSpaceBeforeObjectValues": false,
1915
"requireSpacesInForStatement": true,
2016
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true },
21-
//"validateParameterSeparator": ", ",
22-
//"validateQuoteMarks": false,
23-
"maximumLineLength": 280
17+
"maximumLineLength": 280,
18+
"es11": true
2419
}

.jshintrc

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
2-
"asi": true,
3-
"curly": true,
4-
"eqnull": true,
5-
"freeze": true,
6-
"indent": 4,
7-
"forin": true,
8-
"immed": true,
9-
"nonbsp": true,
10-
"loopfunc": true,
11-
"shadow": true,
12-
"sub": true,
13-
"proto": true,
14-
"esversion": 8
2+
"asi": true, // allow missing semicolons
3+
"curly": true, // require braces
4+
"eqnull": true, // ignore ==null
5+
//"eqeqeq": true, // enforce ===
6+
"freeze": true, // don't allow override
7+
"indent": 4, // default indent of 4
8+
"forin": true, // require property filtering in "for in" loops
9+
"immed": true, // require immediate functions to be wrapped in ( )
10+
"nonbsp": true, // warn on unexpected whitespace breaking chars
11+
//"strict": true, // commented out for now as it causes 100s of warnings, but want to get there eventually
12+
//"unused": true, // Check for unused functions and variables
13+
"loopfunc": true, // allow functions to be defined in loops
14+
//"expr": true, // allow ternery operator syntax...
15+
"shadow": true, // allow variable shadowing (re-use of names...)
16+
"sub": true, // don't warn that foo['bar'] should be written as foo.bar
17+
"proto": true, // allow setting of __proto__ in node < v0.12,
18+
"esversion": 11 // allow es11(ES2020)
1519
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@
4040
"grunt-lint-inline": "^1.0.0",
4141
"grunt-simple-mocha": "^0.4.1",
4242
"imap": "^0.8.19",
43-
"mailparser": "^3.6.4",
43+
"mailparser": "^3.6.5",
4444
"markdown-it": "^12.3.2",
4545
"mocha": "~6.2.3",
4646
"msgpack-lite": "^0.1.26",
4747
"multilang-sentiment": "^1.2.0",
4848
"ngeohash": "^0.6.3",
49-
"node-red": "^3.0.2",
50-
"node-red-node-test-helper": "^0.3.0",
51-
"nodemailer": "^6.9.1",
52-
"node-pop3": "^0.8.0",
49+
"node-red": "^3.1.0",
50+
"node-red-node-test-helper": "^0.3.2",
51+
"nodemailer": "^6.9.7",
52+
"node-pop3": "^0.9.0",
5353
"proxyquire": "^2.1.3",
5454
"pushbullet": "^2.4.0",
5555
"sentiment": "^2.1.0",
5656
"should": "^13.2.3",
5757
"sinon": "~7.5.0",
58-
"smtp-server": "^3.11.0",
58+
"smtp-server": "^3.13.0",
5959
"supertest": "^4.0.2",
6060
"when": "^3.7.8"
6161
},

0 commit comments

Comments
 (0)