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

esformatter-config-algolia

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

esformatter-config-algolia

Algolia's esformatter config.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

esformatter-config-algolia

This is Algolia's esformatter configuration.

It will format your JavaScript code following the algolia/eslint-config-algolia rules.

Wait, we have an automatic formatter according to this configuration

If you want to easily reformat your project according to our rules, see algolia/jsfmt.

How to use this configuration?

(really, just use algolia/jsfmt)

In your project:

npm install esformatter \
  esformatter-config-algolia \
  esformatter-quotes \
  esformatter-semicolons \
  esformatter-parseint \
  esformatter-var-each \
  esformatter-eol-last \
  esformatter-spaced-lined-comment \
  esformatter-shebang-ignore \
  esformatter-remove-trailing-commas \
  --save-dev

In your package.json:

{
  "scripts": {
    "jsformat": "esformatter -i -p default -c node_modules/esformatter-config-algolia/.esformatter"
  }
}

Keywords

FAQs

Package last updated on 08 Jul 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