Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@aniftyco/prettier

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aniftyco/prettier

Standardized code formatting via Prettier config for NiftyCo projects

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

@aniftyco/prettier

Standardized code formatting via Prettier config for NiftyCo projects.

Install

npm install --save-dev @aniftyco/prettier

Usage

Reference @aniftyco/prettier in your package.json:

{
  "name": "my-nifty-app",
  "version": "1.2.4",
  "prettier": "@aniftyco/prettier"
}

If you don't want to use package.json, you can use any of the supported extensions to export a string:

// `.prettierrc.json`
"@aniftyco/prettier"
// `prettier.config.js` or `.prettierrc.js`
module.exports = '@aniftyco/prettier';

Extending

This configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. Prettier does not offer an "extends" mechanism as you might be familiar from tools such as ESLint.

To extend a configuration you will need to use a prettier.config.js or .prettierrc.js file that exports an object:

module.exports = {
  ...require('@aniftyco/prettier'),
  semi: false,
};

Keywords

prettier

FAQs

Package last updated on 11 Sep 2025

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