Socket
Book a DemoInstallSign in
Socket

prettier-config-qualtrics

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-config-qualtrics

Qualtric's Prettier config

1.1.1
latest
npmnpm
Version published
Weekly downloads
19
90%
Maintainers
1
Weekly downloads
 
Created
Source

Qualtrics Prettier config

NPM version

prettier-config-qualtrics

These are settings for Prettier used by Qualtrics.

What it does

This setup formats your frontend code to make it consistent and clean. Check the .prettierrc.json file to see what is included, and check out the docs to see the defaults.

Installing

In your project folder, run:

npm i -D prettier prettier-config-qualtrics
# or
yarn add -D prettier prettier-config-qualtrics

Usage

Prerequisites

You should also have a .prettierignore file. Here's an example:

# Ignore artifacts:
build
coverage
# Dependencies:
/node_modules

Edit package.json

{
  // ...
  "prettier": "prettier-config-qualtrics"
}

Extending

To extend (or overwrite) our config, follow the guide here

Basically you need to import our file in a .prettierrc.js file and export the modifications, e.g:

// .prettierrc.js
module.exports = {
  ...require("prettier-config-qualtrics"),
  semi: false,
};

If you do this, then you'll need to remove the "prettier" line in your package.json

Editor Integration

For the most complete guide, see the docs

If you are using VSCode, install the Prettier extension here

If you are using IntelliJ, install the Prettier extension here

FAQs

Package last updated on 22 Nov 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.