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

eslint-plugin-nodeca

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

Custom eslint rules, used in Nodeca projects.

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
269
decreased by-8.19%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint indentation check and other rules

Build Status NPM version

May be you know, that indentation check was removed from jshint 2.5.0, and not yet implemented in eslint. Now you can check code indentation again, with awesome eslint and this plugin.

install:

npm install eslint-plugin-nodeca --save

Then update .eslintrc from instruction below.

Indent rule

Params:

  • indent type - 'tabs' / 'spaces' (default - spaces)
  • indent size - 2 (default)

Config example (yaml):

# acivate plugin

plugins:
  - nodeca

# enable rules

rules:
  nodeca/indent: [ 2, spaces, 2 ]

  # If you are ok with defaults:
  #
  # nodeca/indent: 2

Other rules

Probably, you never need this ones. Those are for internal nodeca needs.

  • no-async-aliases - warn on deprecated methods in async module.
  • no-lodash-aliases - warn on deprecated methods in lodash module.
  • no-wire-anonymous - prohibit anon functions in event handlers of nodeca wire mediator.

Authors

License

MIT

Keywords

FAQs

Package last updated on 25 Sep 2014

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