Skip to content

Commit

Permalink
fixup jscs errors in helpers and tests. #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexej Yaroshevich committed May 27, 2014
1 parent caaecbe commit 57cebbf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"preset": "google"
"preset": "google",

"disallowSpacesInFunctionExpression": null
}
2 changes: 1 addition & 1 deletion lib/esprima-helpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
closestScopeNode : closestScopeNode,
closestScopeNode : closestScopeNode,
treeIterator : require('jscs/lib/tree-iterator')
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jscs-jsdoc",
"author": "Alexej Yaroshevich <alex@qfox.ru>",
"description": "JSCS jsdoc plugin",
"version": "0.0.3",
"version": "0.0.4",
"main": "lib/index",
"homepage": "https://github.com/zxqfox/jscs-jsdoc",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion test/test.validate-jsdoc-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('rules/validate-jsdoc', function () {
beforeEach(function () {
checker = new Checker();
checker.registerDefaultRules();
checker.configure({ additionalRules: ["lib/rules/validate-jsdoc.js"] });
checker.configure({ additionalRules: ['lib/rules/validate-jsdoc.js'] });
});

describe('common', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/test.validate-jsdoc-returns.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('rules/validate-jsdoc', function () {
beforeEach(function () {
checker = new Checker();
checker.registerDefaultRules();
checker.configure({ additionalRules: ["lib/rules/validate-jsdoc.js"] });
checker.configure({ additionalRules: ['lib/rules/validate-jsdoc.js'] });
});

describe('require-return-types', function () {
Expand Down

0 comments on commit 57cebbf

Please sign in to comment.