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

beautify-lint

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautify-lint

A linter for code styling. Ensures code is written in a beautiful way.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
76
decreased by-18.28%
Maintainers
1
Weekly downloads
 
Created
Source

beautify-lint

A linter for code styling. Ensures code is written in a beautiful way.

Usage

npm install beautify-lint --save-dev

This package comes with two binaries:

  • beautify-lint: Checks if code is beautified according to the .jsbeautifyrc. Exits with non-zero exit code when any file is not beautified. Prints diff about required changes.
  • beautify-rewrite: Rewrittes code according to .jsbeautifyrc.

Both binaries take globs as params.

Example:

beautify-lint lib/**.js bin/*.js test/*.js

Checks javascript in lib, bin and test directory.

Use cases

  • Let the CI validate code style: "pretest": "beautify-lint lib/**.js"
  • Provide a helper to beautify the code: "beautify": "beautify-rewrite lib/**.js"

License

MIT Copyright (c) 2015 Tobias Koppers

Keywords

FAQs

Package last updated on 25 Nov 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