Skip to content

Commit 82af560

Browse files
committed
minor tweaks
1 parent 68bc13d commit 82af560

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[package.json]
10+
[{package.json,*.yml}]
1111
indent_style = space
1212
indent_size = 2
1313

.jshintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"node": true,
33
"esnext": true,
44
"bitwise": true,
5-
"camelcase": true,
65
"curly": true,
76
"immed": true,
87
"newcap": true,

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": {
88
"name": "Sindre Sorhus",
99
"email": "sindresorhus@gmail.com",
10-
"url": "http://sindresorhus.com"
10+
"url": "sindresorhus.com"
1111
},
1212
"engines": {
1313
"node": ">=0.10.0"
@@ -34,10 +34,10 @@
3434
"checker"
3535
],
3636
"dependencies": {
37-
"gulp-util": "^3.0.0",
38-
"jscs": "^1.8.0",
37+
"gulp-util": "^3.0.4",
38+
"jscs": "^1.12.0",
3939
"object-assign": "^2.0.0",
40-
"through2": "^0.6.1",
40+
"through2": "^0.6.5",
4141
"tildify": "^1.0.0"
4242
},
4343
"devDependencies": {

readme.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# gulp-jscs [![Build Status](https://travis-ci.org/jscs-dev/gulp-jscs.svg?branch=master)](https://travis-ci.org/jscs-dev/gulp-jscs)
22

3-
> Check JavaScript code style with [jscs](http://jscs.info)
3+
> Check JavaScript code style with [`jscs`](http://jscs.info)
44
55
![](screenshot.png)
66

7-
*Issues with the output should be reported on the jscs [issue tracker](https://github.com/jscs-dev/node-jscs/issues).*
7+
*Issues with the output should be reported on the `jscs` [issue tracker](https://github.com/jscs-dev/node-jscs/issues).*
88

99

1010
## Install
1111

12-
```sh
12+
```
1313
$ npm install --save-dev gulp-jscs
1414
```
1515

1616

1717
## Usage
1818

19-
### Reporting Only
19+
### Reporting
2020

2121
```js
2222
var gulp = require('gulp');
@@ -28,7 +28,7 @@ gulp.task('default', function () {
2828
});
2929
```
3030

31-
### Fixing and Reporting
31+
### Fixing & reporting
3232

3333
```js
3434
var gulp = require('gulp');
@@ -43,6 +43,7 @@ gulp.task('default', function () {
4343
});
4444
```
4545

46+
4647
## Results
4748

4849
A `jscs` object will be attached to the file object which can be used for custom error reporting. An example with one error might look like this:
@@ -64,13 +65,13 @@ A `jscs` object will be attached to the file object which can be used for custom
6465

6566
## API
6667

67-
### jscs(options)
68+
### jscs([options])
6869

6970
#### options
7071

7172
Type: `object`
7273

73-
See the jscs [options](http://jscs.info/overview.html#options).
74+
See the `jscs` [options](http://jscs.info/overview.html#options).
7475

7576
Alternatively you can set the `configPath` *(default: `'.jscsrc'`)* option to the path of a [.jscsrc](http://jscs.info/rules.html) file.
7677

0 commit comments

Comments
 (0)