JSPM

@electerious/prettier-config

2.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1091
  • Score
    100M100P100Q114172F
  • License MIT

Prettier configuration for my personal projects

Package Exports

  • @electerious/prettier-config
  • @electerious/prettier-config/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@electerious/prettier-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Prettier configuration

Build

Shareable Prettier configuration for my personal projects.

Install

Install this package. It already includes Prettier and the necessary plugins.

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

Usage

Create a file named .prettierrc.js with following contents in the root folder of your project:

module.exports = {
  ...require('@electerious/prettier-config'),
}

That's it! You can override the settings by editing the .prettierrc.js file.