1.1.3 • Published 6 months ago

@sphoon/prettier-config v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Version

Description

Just a simple Prettier configuration for personal use, which was made as a testament to having read the Prettier documentation.

All properties use their default values as of prettier@3.4.2, except for the arrowParens property.

Used plugins:

// Package export (index.js)
/** @type {import("prettier").Config} */
const config = {
  $schema: "http://json.schemastore.org/prettierrc",
  arrowParens: "avoid",
  plugins: [
    "prettier-plugin-sort-json",
    "prettier-plugin-packagejsonv",
    "prettier-plugin-multiline-arrays",
    "prettier-plugin-organize-imports",
    "prettier-plugin-jsdoc"
  ]
};

export default config;

Getting Started

Prerequisites

Install

npm install --save-dev @sphoon/prettier-config --save-exact
// package.json
{
  "name": "your-project",
  "version": "1.33.7",
  // ...
  // add the "prettier" property
  "prettier": "@sphoon/prettier-config"
}
1.1.3

6 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.0

7 months ago