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

@clickbar/style-guide

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clickbar/style-guide

clickbar.'s engineering style guide

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-58.33%
Maintainers
0
Weekly downloads
 
Created
Source

clickbar. Style Guide

In this repository, we keep all of our code style configurations to easily share them across all projects. Please check the respective sections for information

Prettier

At prettier.js you can find our configuration for Prettier.

Note: Prettier is a peer dependency, so you need to install prettier too.

To use it in your project, just add this to your package.json:

{
  "prettier": "@clickbar/style-guide/prettier"
}

Warning: We use the "unsafe" option htmlWhitespaceSensitivity: ignore. This might need some manual prettier-ignore's when whitespaces are important in your HTML.

Laravel Pint

At pint.json you can find our configuration for Laravel Pint.

To use it in your project, we recommend to symlink the pint.json file to your project root. This way your IDE tooling can pick up the configuration and provide you with the correct code style automatically.

# from your project root
ln -s ./node_modules/@clickbar/style-guide/pint.json pint.json

Thanks

This repository is inspired by Vercel's Style Guide.

FAQs

Package last updated on 15 Jan 2025

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