GithubHelp home page GithubHelp logo

simenandre / prettier-config Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 46 KB

Small, reusable, opinionated Prettier configuration

License: Apache License 2.0

JavaScript 100.00%
prettier prettier-config

prettier-config's Introduction

@simenandre/prettier

Reusable prettier config.

Installation

yarn add --dev @simenandre/prettier

or

pnpm add --save-dev @simenandre/prettier

Usage

Add a key in your package.json file.

"prettier": "@simenandre/prettier"

OR

Create a .prettierrc , .prettierrc.yaml , .prettierrc.yml or .prettierrc.json file and export a string.

"@simenandre/prettier"

OR

Create a prettier.config.js or .prettierrc.js file and export an object.

module.exports = {
  ...require("@simenandre/prettier"),
  tabWidth: 2,
};

Thanks

Most of this code is based on https://github.com/devsht/prettier-config.

prettier-config's People

Contributors

simenandre avatar renovate[bot] avatar

Watchers

James Cloos avatar  avatar

prettier-config's Issues

Add typescript to peerDeps

@simenandre/prettier@npm:3.0.2 [44896] doesn't provide typescript (pe95ad), requested by prettier-plugin-organize-imports

โ˜๏ธ here's why.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release.yaml
  • actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
  • pnpm/action-setup v2
  • actions/setup-node v3
  • simenandre/publish-with-pnpm v2
npm
package.json
  • prettier ^3.0.0
  • prettier ^3.0.0
  • pnpm 8.6.11

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.