Skip to content

Commit 57cebbf

Browse files
author
Alexej Yaroshevich
committed
fixup jscs errors in helpers and tests. #6
1 parent caaecbe commit 57cebbf

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

.jscsrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"preset": "google"
2+
"preset": "google",
3+
4+
"disallowSpacesInFunctionExpression": null
35
}

lib/esprima-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
closestScopeNode : closestScopeNode,
2+
closestScopeNode : closestScopeNode,
33
treeIterator : require('jscs/lib/tree-iterator')
44
};
55

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jscs-jsdoc",
33
"author": "Alexej Yaroshevich <[email protected]>",
44
"description": "JSCS jsdoc plugin",
5-
"version": "0.0.3",
5+
"version": "0.0.4",
66
"main": "lib/index",
77
"homepage": "https://github.com/zxqfox/jscs-jsdoc",
88
"license": "MIT",

test/test.validate-jsdoc-basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('rules/validate-jsdoc', function () {
77
beforeEach(function () {
88
checker = new Checker();
99
checker.registerDefaultRules();
10-
checker.configure({ additionalRules: ["lib/rules/validate-jsdoc.js"] });
10+
checker.configure({ additionalRules: ['lib/rules/validate-jsdoc.js'] });
1111
});
1212

1313
describe('common', function () {

test/test.validate-jsdoc-returns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('rules/validate-jsdoc', function () {
77
beforeEach(function () {
88
checker = new Checker();
99
checker.registerDefaultRules();
10-
checker.configure({ additionalRules: ["lib/rules/validate-jsdoc.js"] });
10+
checker.configure({ additionalRules: ['lib/rules/validate-jsdoc.js'] });
1111
});
1212

1313
describe('require-return-types', function () {

0 commit comments

Comments
 (0)