Skip to content

Commit

Permalink
Merge pull request #283 from gruntjs/dev
Browse files Browse the repository at this point in the history
Update deps, use https, fix failing test.
  • Loading branch information
vladikoff committed Sep 10, 2018
2 parents f1114ed + 35036cc commit d4fe674
Show file tree
Hide file tree
Showing 13 changed files with 4,656 additions and 20 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ language: node_js
node_js:
- "6"
- "8"
- "10"

matrix:
fast_finish: true
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project.
Please see the [Contributing to grunt](https://gruntjs.com/contributing) guide for information on contributing to this project.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* grunt-contrib-jshint
* http://gruntjs.com/
* https://gruntjs.com/
*
* Copyright (c) 2016 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Getting Started

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
If you haven't used [Grunt](https://gruntjs.com/) before, be sure to check out the [Getting Started](https://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](https://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-contrib-jshint --save-dev
Expand All @@ -24,14 +24,14 @@ grunt.loadNpmTasks('grunt-contrib-jshint');
## Jshint task
_Run this task with the `grunt jshint` command._

Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
Task targets, files and options may be specified according to the grunt [Configuring tasks](https://gruntjs.com/configuring-tasks) guide.

### Options

Any specified option will be passed through directly to [JSHint][], thus you can specify any option that JSHint supports. See the [JSHint documentation][] for a list of supported options.

[JSHint]: http://www.jshint.com/
[JSHint documentation]: http://www.jshint.com/docs/
[JSHint]: http://jshint.com/
[JSHint documentation]: http://jshint.com/docs/

A few additional options are supported:

Expand Down Expand Up @@ -123,7 +123,7 @@ Specify a filepath to output the results of a reporter. If `reporterOutput` is s
### Usage examples

#### Wildcards
In this example, running `grunt jshint:all` (or `grunt jshint` because `jshint` is a [multi task](http://gruntjs.com/configuring-tasks#task-configuration-and-targets)) will lint the project's Gruntfile as well as all JavaScript files in the `lib` and `test` directories and their subdirectories, using the default JSHint options.
In this example, running `grunt jshint:all` (or `grunt jshint` because `jshint` is a [multi task](https://gruntjs.com/configuring-tasks#task-configuration-and-targets)) will lint the project's Gruntfile as well as all JavaScript files in the `lib` and `test` directories and their subdirectories, using the default JSHint options.

```js
// Project configuration.
Expand Down Expand Up @@ -254,4 +254,4 @@ grunt.initConfig({

Task submitted by ["Cowboy" Ben Alman](http://benalman.com/)

*This file was generated on Mon Jul 23 2018 10:16:08.*
*This file was generated on Sat Sep 08 2018 10:30:26.*
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ environment:
platform: x86
- nodejs_version: "8"
platform: x86
- nodejs_version: "10"
platform: x86

install:
- ps: Install-Product node $env:nodejs_version $env:platform
Expand Down
2 changes: 1 addition & 1 deletion docs/jshint-examples.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Usage examples

## Wildcards
In this example, running `grunt jshint:all` (or `grunt jshint` because `jshint` is a [multi task](http://gruntjs.com/configuring-tasks#task-configuration-and-targets)) will lint the project's Gruntfile as well as all JavaScript files in the `lib` and `test` directories and their subdirectories, using the default JSHint options.
In this example, running `grunt jshint:all` (or `grunt jshint` because `jshint` is a [multi task](https://gruntjs.com/configuring-tasks#task-configuration-and-targets)) will lint the project's Gruntfile as well as all JavaScript files in the `lib` and `test` directories and their subdirectories, using the default JSHint options.

```js
// Project configuration.
Expand Down
4 changes: 2 additions & 2 deletions docs/jshint-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Any specified option will be passed through directly to [JSHint][], thus you can specify any option that JSHint supports. See the [JSHint documentation][] for a list of supported options.

[JSHint]: http://www.jshint.com/
[JSHint documentation]: http://www.jshint.com/docs/
[JSHint]: http://jshint.com/
[JSHint documentation]: http://jshint.com/docs/

A few additional options are supported:

Expand Down
4 changes: 1 addition & 3 deletions docs/jshint-overview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.

For more explanations of the lint errors JSHint will throw at you please visit [jslinterrors.com](http://jslinterrors.com/).
Task targets, files and options may be specified according to the grunt [Configuring tasks](https://gruntjs.com/configuring-tasks) guide.

0 comments on commit d4fe674

Please sign in to comment.