Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 78319c5

Browse files
David Hirtlehzoo
authored andcommitted
Docs: fix various typos
Closes gh-1872
1 parent f20227e commit 78319c5

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

OVERVIEW.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jscs path[ path[...]] --preset=jquery
150150
In order to add/remove preset rules you will need to create a `.jscsrc` config file.
151151

152152
### `--extract`
153-
With this option you can set glob pattern for files which embeded JavaScript should be checked.
153+
With this option you can set glob pattern for files which embedded JavaScript should be checked.
154154
```
155155
jscs path[ path[...]] --extract *.html
156156
```
@@ -297,13 +297,13 @@ Values: A single file extension or an Array of file extensions, beginning with a
297297

298298
### extract
299299

300-
Set list of glob patterns for files which embeded JavaScript should be checked.
300+
Set list of glob patterns for files which embedded JavaScript should be checked.
301301

302302
Type: `Array` or `Boolean`
303303

304304
Values: Array of file matching patterns
305305

306-
JavaScript extracting from files that doesn't match to [fileExtensions](#fileExtensions) or [excludeFiles](#excludefiles), but match to patterns in this list. Currenly, only `html` format is supported.
306+
JavaScript extracting from files that doesn't match to [fileExtensions](#fileExtensions) or [excludeFiles](#excludefiles), but match to patterns in this list. Currently, only `html` format is supported.
307307

308308
#### Example
309309

@@ -420,7 +420,7 @@ See [how to define an error filter](https://github.com/jscs-dev/node-jscs/wiki/E
420420

421421
### Disabling a Rule
422422

423-
You can specifically disable any rule by ommitting it from your `.jscsrc` config or by assigning it to null, like so:
423+
You can specifically disable any rule by omitting it from your `.jscsrc` config or by assigning it to null, like so:
424424
```json
425425
{
426426
"preset": "jquery",

lib/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ exports.isSnakeCased = function(name) {
6565
};
6666

6767
/**
68-
* Returns the function expression node if the provided node is an iffe,
69-
* other returns undefined.
68+
* Returns the function expression node if the provided node is an IIFE,
69+
* otherwise returns null.
7070
*
7171
* @param {Object} node
7272
* @return {?Object}

test/scripts/integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ vowFs.listDir('./presets')
1919
// List of rules that are not used in any of the default presets
2020
presets.unshift('./test/scripts/forgotten-rules.json');
2121

22-
console.log('\n' + chalk.green('> ') + 'Autofix ingeration tests');
22+
console.log('\n' + chalk.green('> ') + 'Autofix integration tests');
2323

2424
return promiseQueue(presets, function(presetName) {
2525
console.log('\nPreset "' + chalk.green(presetName) + '"');

0 commit comments

Comments
 (0)