Skip to content

Commit

Permalink
chore(): bump support to include CoffeeScript 2 (<3)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

`peerDepencies` are now to [`coffeescript`](https://www.npmjs.com/package/coffeescript) in favor of the, now deprecated, [`coffee-script`](https://www.npmjs.com/package/coffee-script)
  • Loading branch information
cueedee committed Oct 3, 2017
1 parent cf4d5fa commit 94c40ce
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 42 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

Runs your CoffeeScript source through [JSHint](http://www.jshint.com/) to check for errors.

**NOTE: As of version `1.0.0`, `coffee-jshint` changed its dependencies to be on [`coffeescript`](https://www.npmjs.com/package/coffeescript) in favor of the, now deprecated, [`coffee-script`](https://www.npmjs.com/package/coffee-script) name.**

## Installation

npm install coffee-script -g // See package.json for supported versions (most)
npm install coffeescript -g // See package.json for supported versions (most)
npm install coffee-jshint -g

## Usage
Expand Down
2 changes: 1 addition & 1 deletion lib/hint.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fs = require 'fs'
CoffeeScript = require 'coffee-script'
CoffeeScript = require 'coffeescript'
_ = require 'underscore'
jshint = require('jshint').JSHINT

Expand Down
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"description": "Checks CoffeeScript source for errors using JSHint",
"devDependencies": {
"coffee-script": "^1.12.7",
"coffeescript": "^2.0.1",
"standard-version": "^4.2.0"
},
"engines": {
Expand All @@ -29,14 +29,15 @@
],
"homepage": "https://github.com/marviq/coffee-jshint#readme",
"keywords": [
"coffee-script",
"coffeescript",
"jshint",
"marviq"
],
"license": "BSD-3-Clause",
"name": "coffee-jshint",
"peerDependencies": {
"coffee-script": ">= 1.6 < 2"
"coffeescript": ">= 1.6 < 3"
},
"private": false,
"publishConfig": {
Expand Down

0 comments on commit 94c40ce

Please sign in to comment.