Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### Update to JSLint 2019-01-31
* **lib/jslint-latest.js**: update to JSLint 2019-01-31.
* **lib/jslint-2019-01-31.js**: add JSLint 2019-01-31.
* **README.md**: add note about upgrading to JSLint 2019-01-31.
* **CHANGELOG.md**: add notes about upgrading to JSLint 2019-01-31.

<a name="0.12.1"></a>
## [0.12.1](https://github.com/reid/node-jslint/compare/v0.12.0...v0.12.1) (2019-01-28)

Expand Down Expand Up @@ -48,7 +54,7 @@ you must use `--edition=es6`.

2015-07-29 Sam Mikes <smikes@cubane.com>
* lib/jslint-es6.js: latest jslint from upstream
* lib/nodelint.js, test/regression.js: correctly report edition for post-es6 jslints,
* lib/nodelint.js, test/regression.js: correctly report edition for post-es6 jslints,
thanks to @bryanjhv for the bug report and fix

2015-02-19 Sam Mikes <smikes@cubane.com>
Expand All @@ -68,7 +74,7 @@ you must use `--edition=es6`.
2104-04-13 Sam Mikes <smikes@cubane.com>

* lib/linter.js: Fix issue #88 - support user-specified config file, support
jslint.conf and .jslint.conf in addition to jslintrc, .jslintrc
jslint.conf and .jslint.conf in addition to jslintrc, .jslintrc

2014-01-30 Sam Mikes <smikes@cubane.com>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Easily use [JSLint][] from the command line.

## What's New

Added latest jslint, 2018-01-27.
Added latest jslint, 2019-01-31.

Version 0.12.0 contains the latest jslint-es6

Expand Down
8 changes: 4 additions & 4 deletions lib/collectorstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
// Released under modified MIT/BSD 3-clause license
// See LICENSE for details.

'use strict';
"use strict";

var util = require('util'),
Transform = require('./stream').Transform,
CollectorStream;
var util = require('util');
var Transform = require('./stream').Transform;
var CollectorStream;

CollectorStream = function CollectorStream_constructor(options) {
if (!(this instanceof CollectorStream)) {
Expand Down
4 changes: 2 additions & 2 deletions lib/color.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
function color(code, string) {
'use strict';
"use strict";
return "\u001b[" + code + "m" + string + "\u001b[0m";
}

function factory(code) {
'use strict';
"use strict";
return function (string) {
return color(code, string);
};
Expand Down
9 changes: 4 additions & 5 deletions lib/fileopener.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';
"use strict";

var util = require('util'),
Transform = require('./stream').Transform,
fs = require('fs');
var util = require("util");
var Transform = require("./stream").Transform;
var fs = require("fs");

function FileOpener() {
Transform.call(this, {objectMode: true});
Expand All @@ -26,4 +26,3 @@ function FileOpener_transform(file, ignore, callback) {
FileOpener.prototype._transform = FileOpener_transform;

module.exports = FileOpener;

Loading