eslint-plugin-strict-newline
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -7,2 +7,6 @@ # Change Log | ||
## [1.3.0] - 2017-03-02 | ||
### Added | ||
- Ignore files without `use strict` | ||
## [1.2.0] - 2016-08-15 | ||
@@ -20,3 +24,4 @@ ### Added | ||
[1.3.0]: https://github.com/MitMaro/eslint-plugin-strict-newline/compare/v1.2.0...v1.3.0 | ||
[1.2.0]: https://github.com/MitMaro/eslint-plugin-strict-newline/compare/v1.1.0...v1.2.0 | ||
[1.1.0]: https://github.com/MitMaro/eslint-plugin-strict-newline/compare/v1.0.0...v1.1.0 |
@@ -53,2 +53,6 @@ 'use strict'; | ||
if (!tokens.length) { | ||
return; | ||
} | ||
for (token of tokens) { | ||
@@ -55,0 +59,0 @@ lastToken = sourceCode.getLastToken(token); |
{ | ||
"name": "eslint-plugin-strict-newline", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "ESLint plugin that provides a rule for newline spacing around 'use strict'", | ||
@@ -26,6 +26,6 @@ "author": "Tim Oram <mitmaro@gmail.com>", | ||
"devDependencies": { | ||
"coveralls": "2.11.12", | ||
"coveralls": "^2.11.12", | ||
"eslint": "^3.2.0", | ||
"istanbul": "0.4.4", | ||
"mocha": "3.0.0" | ||
"istanbul": "0.4.5", | ||
"mocha": "^3.0.2" | ||
}, | ||
@@ -32,0 +32,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6034
83