Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Commit 8715716

Browse files
committed
Fix code style issues
1 parent ad532e2 commit 8715716

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

tasks/jscs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ module.exports = function( grunt ) {
1111
var done = this.async(),
1212
options = this.options( {
1313

14-
// null is a default value, but its equivalent to `true`,
15-
// with this way it's easy to distinguish specified value
14+
// `null` is a default value, but its equivalent to `true`,
15+
// With this way it's easy to distinguish specified value
1616
config: null,
1717

1818
fix: false

tasks/lib/jscs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ exports.init = function( grunt ) {
142142
return {};
143143
}
144144

145-
// true or null will use default jscs config loader
145+
// `true` or null will use default jscs config loader
146146
config = config === true ? null : config;
147147
return jscsConfig.load( config, process.cwd() ) || {};
148148
};

test/methods.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
done();
3232
} );
3333

34-
// once option from hooker won't work with exceptions
34+
// Once option from hooker won't work with exceptions
3535
hooker.hook( grunt, "fatal", {
3636
pre: function( message ) {
3737
throw new Error( message );
@@ -233,7 +233,7 @@ module.exports = {
233233
jscs.check( "test/fixtures/fixture.js" ).then( function( errorsCollection ) {
234234

235235
// "grunt-contrib-nodeunit" package through which these tests are run,
236-
// mutes grunt log actions so it wouldn't interfeare with tests output,
236+
// Mutes grunt log actions so it wouldn't interfeare with tests output,
237237
// for our case this is not ideal since our default reporter uses grunt.log functions
238238
// this value will be changed when next test is run,
239239
// so there is no need to do this globally

0 commit comments

Comments
 (0)