/jsx-prettier

Codepoint Turku's Prettier config for web development projects

MIT LicenseMIT

Codepoint's tsx/jsx Prettier config

npm Release Version GitHub Workflow Status

Codepoint's Prettier config file for formatting jsx code.

  • What is this for?: This Prettier config is meant to be used for Codepoint's web development projects.
  • Can anyone use it?: Yes, you can use this config however you like, but keep in mind that these settings might change over time.

Contact for questions, information and to contribute

Installation

Run this command in your repository

$ npm install @codepointtku/jsx-prettier --save-dev

Usage

Add it to your .prettierrc.js which will allow you to override settings in case you need to

module.exports = {
  ...require("@codepointtku/jsx-prettier"),
}

Or to your package.json

{
  "prettier": "@codepointtku/jsx-prettier"
}

Or... add it to your .prettierrc/.prettierrc.json

{
  "@codepointtku/jsx-prettier"
}