New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-alint

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-alint

An eslint plugin

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

alint Build Status

An eslint plugin that implements some additional linting rules.

Rules

no-use-strict

If you are using a transpiler such as babeljs there is no need for 'use strict' at the top of your program files, or inside functions. This rule warns you if this additional string meta-data is present.

bracket-predicates

You may wish to surround brackets within predicate variable assignments, for instance -

// Will be reported as an error
var invalid = user.age > 10;
var invalid = {
  key: i + 1
}
// Valid - predicate encapsulated within brackets appropriately
var valid = (user.age > 10);
Release-Log

1.1.2

  • Only publish dist and README.md as part of npm publish

1.1.1

  • Remove webpack as build tool, replacing with raw Babel
  • dist folder now contains separate files as a result

1.1.0

  • Update bracket-predicates to also lint Object values
  • Use webpack as a build tool, providing a single dist/index.js file as the entry point

1.0.0

Initial release. no-use-strict and bracket-predicates added

Contributing

To run the test suite you can use the following command -

npm run test

To run an individual test you can modify the spec file you are working with and use describe.only

Building

To build the source code into a releasable asset you can use

npm run build

FAQs

Package last updated on 06 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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