Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

prettier-config-moon

moonrepo852MIT1.2.2

Strict Prettier config with a focus on accessibility.

prettier, config, moon

readme

prettier-config-moon

build status npm version npm license

A modern and accessibility forward Prettier config that aligns with the community.

yarn add --dev prettier-config-moon

Setup

Extend the config from your root prettier.config.js or .prettierrc.js.

module.exports = 'prettier-config-moon';

Features

  • Uses tabs over spaces for accessibility compliance.
  • Displays arrow parenthesis and trailing commas.
  • Includes semi colons and avoids ASI.
  • Prefers single quoted strongs and spaces for indentation.