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

@g123jp/prettier-config-recommended

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@g123jp/prettier-config-recommended

recommended prettier config for frontend projects

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-28.57%
Maintainers
4
Weekly downloads
 
Created
Source

recommended prettier config for frontend projects

1. install

yarn add -D @g123jp/prettier-config-recommended

If you are using this config with @g123jp/eslint-config-react already, your all set.

If you are using other eslint configs, you may want to add eslint-config-prettier as well, please follow their docs for the further configuration.

  • prettier
  • eslint-config-prettier
yarn add -D prettier eslint-config-prettier

2. usage

  • package.json
{
  "prettier": "@g123jp/prettier-config-recommended"
}

3. ref

{
  "editor.tabSize": 2,
  "files.insertFinalNewline": true,
  "typescript.tsdk": "node_modules/typescript/lib",
  "prettier.requireConfig": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features",
    "editor.formatOnSave": true,
  }
}

Keywords

FAQs

Package last updated on 08 Feb 2022

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