New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@smcv/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smcv/prettier-config

A Prettier shareable config for projects using 'Prettier' and 'JavaScript Standard Style'.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@smcv/prettier-config

A Prettier shareable config for projects using Prettier and JavaScript Standard Style as ESLint rules or separate processes.

Installation

npm install --save-dev @smcv/prettier-config

This is only a shareable configuration. It does not install Prettier, Standard, ESLint, or any other part of the tool chain.

Usage

Reference it in package.json using the prettier property:

{
  "name": "my-projects-name",
  "prettier": "@smcv/prettier-config",
  "devDependencies" : {
    "@smcv/prettier-config": "^1.0.0"
  }
}

If you don't want to use package.json, you can use any of the supported extensions to export a string:

// `.prettierrc.json`
"@smcv/prettier-config"
// `prettier.config.js` or `.prettierrc.js`
module.exports = '@smcv/prettier-config'

Keywords

eslint

FAQs

Package last updated on 09 Jan 2024

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