Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: upgrade devdeps #10178

Merged
merged 6 commits into from Apr 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/developer-guide/working-with-rules.md
Expand Up @@ -371,17 +371,17 @@ Once you have an instance of `SourceCode`, you can use the methods on it to work
* `commentsExistBetween(nodeOrToken1, nodeOrToken2)` - returns `true` if comments exist between two nodes.

> `skipOptions` is an object which has 3 properties; `skip`, `includeComments`, and `filter`. Default is `{skip: 0, includeComments: false, filter: null}`.
> - `skip` is a positive integer, the number of skipping tokens. If `filter` option is given at the same time, it doesn't count filtered tokens as skipped.
> - `includeComments` is a boolean value, the flag to include comment tokens into the result.
> - `filter` is a function which gets a token as the first argument, if the function returns `false` then the result excludes the token.
> * `skip` is a positive integer, the number of skipping tokens. If `filter` option is given at the same time, it doesn't count filtered tokens as skipped.
> * `includeComments` is a boolean value, the flag to include comment tokens into the result.
> * `filter` is a function which gets a token as the first argument, if the function returns `false` then the result excludes the token.
>
> `countOptions` is an object which has 3 properties; `count`, `includeComments`, and `filter`. Default is `{count: 0, includeComments: false, filter: null}`.
> - `count` is a positive integer, the maximum number of returning tokens.
> - `includeComments` is a boolean value, the flag to include comment tokens into the result.
> - `filter` is a function which gets a token as the first argument, if the function returns `false` then the result excludes the token.
> * `count` is a positive integer, the maximum number of returning tokens.
> * `includeComments` is a boolean value, the flag to include comment tokens into the result.
> * `filter` is a function which gets a token as the first argument, if the function returns `false` then the result excludes the token.
>
> `rangeOptions` is an object which has 1 property: `includeComments`.
> - `includeComments` is a boolean value, the flag to include comment tokens into the result.
> * `includeComments` is a boolean value, the flag to include comment tokens into the result.

There are also some properties you can access:

Expand Down
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -79,35 +79,35 @@
"babelify": "^7.3.0",
"beefy": "^2.1.8",
"brfs": "^1.5.0",
"browserify": "^14.4.0",
"browserify": "^16.1.1",
"chai": "^4.0.1",
"cheerio": "^0.22.0",
"coveralls": "^2.13.1",
"dateformat": "^2.2.0",
"coveralls": "^3.0.0",
"dateformat": "^3.0.3",
"ejs": "^2.5.8",
"eslint-plugin-eslint-plugin": "^1.2.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-rulesdir": "^0.1.0",
"eslint-release": "^0.11.1",
"eslint-rule-composer": "^0.1.1",
"eslump": "^1.6.1",
"esprima": "^4.0.0",
"istanbul": "^0.4.5",
"jsdoc": "^3.5.5",
"karma": "^1.7.0",
"karma-babel-preprocessor": "^6.0.1",
"karma": "^2.0.0",
"karma-babel-preprocessor": "^7.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-phantomjs-launcher": "^1.0.4",
"leche": "^2.2.3",
"load-perf": "^0.2.0",
"markdownlint": "^0.6.4",
"mocha": "^3.5.3",
"markdownlint": "^0.8.1",
"mocha": "^5.0.5",
"mock-fs": "^4.3.0",
"npm-license": "^0.3.3",
"phantomjs-prebuilt": "^2.1.16",
"proxyquire": "^1.8.0",
"shelljs": "^0.7.8",
"proxyquire": "^2.0.1",
"shelljs": "^0.8.1",
"sinon": "^3.3.0",
"temp": "^0.8.3",
"through": "^2.3.8"
Expand Down