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

@sisense/prettier-config

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sisense/prettier-config

This module contains prettier configurations for sisense projects

latest
npmnpm
Version
1.9.9
Version published
Maintainers
2
Created
Source

Prettier config

Shared Prettier Config for sisense projects

Install

The module should be installed together with its peer dependencies, that consist of single module - prettier.

# install via npm
$ npm install --save-dev prettier @sisense/prettier-config

# install via yarn
$ yarn add --dev prettier @sisense/prettier-config

Usage

For using this config it is suggested to use next configuration (.prettierrc):

"@sisense/prettier-config"

For ignoring files that should not be modified by prettier it is suggested to use next configuration (.prettierignore):

.git/
.idea/
.vscode/
node_modules/
build/

If you are using .editorconfig there is a need to align it with prettier configuration (.editorconfig):

# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

[*.{md,markdown}]
trim_trailing_whitespace = false

[*.{json, yml}]
indent_size = 2

FAQs

Package last updated on 16 Oct 2023

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