1.1.3 • Published 10 months ago

@sphoon/prettier-config v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

11 months ago

1.0.0

11 months ago