New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mkvlrn/prettier

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@mkvlrn/prettier

Custom Prettier configuration for my projects

unpublished
latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

@mkvlrn/prettier

what

a packaged prettier configuration with some opinionated defaults

also brings tailwindcss support (order of classes) and imports sorting, both via plugins

how

installing prettier separately is required, and pinning its version is required to match this config

yarn add prettier@^3.3.3 @mkvlrn/prettier-config -D

on your prettier.config.js file:

export { default } from "@mkvlrn/prettier";

if you want to add rules to the config, you export it as default while adding your rules to the config array:

import config from "@mkvlrn/prettier";

export default {
  ...config,

  // add your rules here
  semi: false,
};

Keywords

prettier

FAQs

Package last updated on 05 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts