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

git-format-staged

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-format-staged - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

package.json
{
"name": "git-format-staged",
"version": "2.1.2",
"version": "2.1.3",
"description": "Git command to transform staged files according to a command that accepts file content on stdin and produces output on stdout.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -64,3 +64,3 @@ # git-format-staged

$ git-format-staged --formatter 'prettier --stdin --stdin-filepath "{}"' 'src/*.js'
$ git-format-staged --formatter 'prettier --stdin-filepath "{}"' 'src/*.js'

@@ -79,3 +79,3 @@ That will format all files under `src/` and its subdirectories using

$ git-format-staged --formatter 'prettier --stdin' '*.js' '!flow-typed/*'
$ git-format-staged --formatter 'prettier --stdin-filepath "{}"' '*.js' '!flow-typed/*'

@@ -94,3 +94,3 @@ Patterns are evaluated from left-to-right: if a file matches multiple patterns

$ git-format-staged -f 'prettier --stdin --stdin-filepath "{}"' '*.js' '*.css'
$ git-format-staged -f 'prettier --stdin-filepath "{}"' '*.js' '*.css'

@@ -97,0 +97,0 @@ Do not attempt to read or write to `{}` in your formatter command! The

Sorry, the diff of this file is not supported yet

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