Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 6f4e4fd

Browse files
committed
Update dependencies.
1 parent e1e2cc9 commit 6f4e4fd

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.jscsrc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
{
22
"disallowEmptyBlocks": true,
33
"disallowKeywords": ["with"],
4-
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
54
"disallowMixedSpacesAndTabs": true,
65
"disallowMultipleLineStrings": true,
76
"disallowMultipleVarDecl": true,
87
"disallowQuotedKeysInObjects": "allButReserved",
9-
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
8+
"disallowSpaceAfterPrefixUnaryOperators": ["!"],
9+
"disallowSpaceBeforeBinaryOperators": [","],
1010
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
1111
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
12+
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
1213
"disallowSpacesInsideArrayBrackets": true,
14+
"disallowTrailingComma": true,
1315
"disallowSpacesInsideParentheses": true,
1416
"disallowTrailingWhitespace": true,
1517
"requireCamelCaseOrUpperCaseIdentifiers": true,
1618
"requireCapitalizedConstructors": true,
1719
"requireCommaBeforeLineBreak": true,
1820
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
1921
"requireDotNotation": true,
20-
"requireLeftStickedOperators": [","],
2122
"requireLineFeedAtFileEnd": true,
2223
"requireParenthesesAroundIIFE": true,
23-
"requireRightStickedOperators": ["!"],
2424
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
2525
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
2626
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
27-
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true },
27+
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
28+
"requireSpacesInConditionalExpression": true,
2829
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
2930
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
3031
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"devDependencies": {
3131
"grunt": "~0.4.4",
3232
"grunt-contrib-jshint": "~0.10.0",
33-
"grunt-jscs-checker": "~0.4.2",
34-
"grunt-mocha-cli": "~1.8.0",
33+
"grunt-jscs-checker": "~0.6.0",
34+
"grunt-mocha-cli": "~1.9.0",
3535
"mkdirp": "~0.5.0",
3636
"rimraf": "~2.2.7"
3737
},

test/test-fileprocessor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ describe('FileProcessor', function () {
330330
assert.equal(replaced, '<img src="' + filemapping['app/image.png'] + '" ng-src="{{my.image}}">');
331331
});
332332

333-
it('should replace img src after class attribute', function() {
333+
it('should replace img src after class attribute', function () {
334334
var content = '<img class="myclass" src="image.png">';
335335
var replaced = fp.replaceWithRevved(content, ['app']);
336336
assert.equal(replaced, '<img class="myclass" src="' + filemapping['app/image.png'] + '">');
@@ -384,7 +384,7 @@ describe('FileProcessor', function () {
384384
assert.equal(replaced, '<input type="image" src="' + filemapping['app/image.png'] + '" />');
385385
});
386386

387-
it('should replace img in meta content', function() {
387+
it('should replace img in meta content', function () {
388388
var content = '<meta name="foo" content="image.png">';
389389
var replaced = fp.replaceWithRevved(content, ['app']);
390390
assert.equal(replaced, '<meta name="foo" content="' + filemapping['app/image.png'] + '">');

0 commit comments

Comments
 (0)