Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-strict-newline

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-strict-newline - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

5

CHANGELOG.md

@@ -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

4

lib/rules/strict-newline.js

@@ -53,2 +53,6 @@ 'use strict';

if (!tokens.length) {
return;
}
for (token of tokens) {

@@ -55,0 +59,0 @@ lastToken = sourceCode.getLastToken(token);

8

package.json
{
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc