Socket
Socket
Sign inDemoInstall

@swimlane/prettier-config-swimlane

Package Overview
Dependencies
Maintainers
9
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swimlane/prettier-config-swimlane

Prettier configuration used in Swimlane projects.


Version published
Weekly downloads
1.1K
decreased by-25.87%
Maintainers
9
Weekly downloads
 
Created
Source

prettier-config-swimlane

Prettier configuration used in Swimlane projects.

Installation

  1. Install (with Prettier) via npm:
npm install --save-dev prettier @swimlane/prettier-config-swimlane

Usage

  1. Create a file named prettier.config.js with the following contents:
'use strict';

module.exports = require('@swimlane/prettier-config-swimlane');
  1. Add a prettier script to package.json:
{
  "scripts": {
    "prettier": "prettier --write \"**/*.js\""
  }
}

Adjust the glob pattern as needed to include more file extensions. For example, \"**/*.{js,ts}\" will format both JavaScript and TypeScript files. Files can be excluded with a .prettierignore file.

Executing npm run prettier will now format a project's files.

License

MIT

Credits

prettier-config-swimlane is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build.

Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

Keywords

FAQs

Package last updated on 16 Apr 2018

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