Skip to content

Commit 8b1f184

Browse files
committed
Upgrade misc deps
1 parent 2782fe0 commit 8b1f184

4 files changed

Lines changed: 321 additions & 473 deletions

File tree

.eslintrc

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,9 @@
22
"env": {
33
"browser": true
44
},
5-
"ecmaFeatures": {
6-
// Enabling features that can be implemented without polyfills. Want to avoid polyfills at this time.
7-
"arrowFunctions": true,
8-
"blockBindings": true,
9-
"classes": false,
10-
"defaultParams": true,
11-
"destructuring": true,
12-
"modules": true,
13-
"objectLiteralComputedProperties": true,
14-
"objectLiteralDuplicateProperties": true,
15-
"objectLiteralShorthandMethods": true,
16-
"objectLiteralShorthandProperties": true,
17-
"regexUFlag": true,
18-
"restParams": true,
19-
"spread": true,
20-
"templateStrings": true
5+
"parserOptions": {
6+
"ecmaVersion": 6,
7+
"sourceType": "module"
218
},
229
"rules": {
2310
// Possible Errors //
@@ -78,7 +65,6 @@
7865
"no-caller": 2,
7966
"no-div-regex": 1,
8067
"no-else-return": 0,
81-
"no-empty-label": 2,
8268
"no-eq-null": 0,
8369
"no-eval": 2,
8470
"no-extend-native": 2,
@@ -90,7 +76,6 @@
9076
"no-labels": 2,
9177
"no-lone-blocks": 2,
9278
"no-loop-func": 0,
93-
"no-multi-spaces": 2,
9479
"no-multi-str": 1,
9580
"no-native-reassign": 2,
9681
"no-new": 2,
@@ -181,13 +166,12 @@
181166
"semi": 2,
182167
"semi-spacing": [2, {"before": false, "after": true}],
183168
"sort-vars": 0,
184-
"space-after-keywords": [2, "always"],
169+
"keyword-spacing": [2, {"after": true}],
185170
"space-before-blocks": [2, "always"],
186171
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
187172
"space-in-brackets": 0,
188173
"space-in-parens": [2, "never"],
189174
"space-infix-ops": 2,
190-
"space-return-throw-case": 2,
191175
"space-unary-ops": 2,
192176
"spaced-comment": [2, "always"],
193177
"wrap-regex": 1,

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,17 @@
3333
"babel-loader": "^6.0.0",
3434
"babel-preset-es2015-mod": "^6.3.13",
3535
"babel-preset-es3": "^1.0.1",
36-
"chai": "^3.3.0",
36+
"chai": "^4.1.2",
3737
"colors": "^1.1.2",
38-
"eslint": "^1.6.0",
3938
"grunt": "^0.4.5",
40-
"grunt-babel": "^6.0.0",
39+
"grunt-babel": "^7.0.0",
4140
"grunt-clean": "^0.4.0",
4241
"grunt-cli": "^0.1.13",
4342
"grunt-contrib-clean": "^1.0.0",
4443
"grunt-contrib-copy": "^1.0.0",
4544
"grunt-contrib-uglify": "^1.0.0",
4645
"grunt-contrib-watch": "^1.0.0",
47-
"grunt-eslint": "^17.3.1",
46+
"grunt-eslint": "^20.1.0",
4847
"grunt-karma": "^0.12.1",
4948
"grunt-mocha-istanbul": "^3.0.1",
5049
"grunt-mocha-test": "^0.12.7",

test/patch/parse.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,13 @@ Index: test2
385385
});
386386

387387
it('should perform sanity checks on line numbers', function() {
388-
parsePatch(`@@ -1 +1 @@`, {strict: true});
388+
parsePatch('@@ -1 +1 @@', {strict: true});
389389

390390
expect(function() {
391-
parsePatch(`@@ -1 +1,4 @@`, {strict: true});
391+
parsePatch('@@ -1 +1,4 @@', {strict: true});
392392
}).to['throw']('Added line count did not match for hunk at line 1');
393393
expect(function() {
394-
parsePatch(`@@ -1,4 +1 @@`, {strict: true});
394+
parsePatch('@@ -1,4 +1 @@', {strict: true});
395395
}).to['throw']('Removed line count did not match for hunk at line 1');
396396
});
397397

0 commit comments

Comments
 (0)