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

prettier-config-udemy-website

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-config-udemy-website

Udemy's Prettier configuration

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
8
Created
Source

Udemy Prettier Config

This configuration provides a basis for any ES2015 JavaScript code developed at Udemy. It is mainly used by udemy/website-django/static and udemy/website-django/e2e.

Installation

Install Prettier locally.

$ yarn add prettier --dev

Install the Udemy Prettier Config locally.

$ yarn add prettier-config-udemy-website --dev

Configuration

Add a require section to your .prettierrc.js and specify prettier-config-udemy-website a required module. You can additionally adjust rules by overriding them. E.g.:

// A .prettierrc.js

module.exports = {
    ...require("prettier-config-udemy-website"),
    
    // Any overwrites.
    printWidth: 140,
    tabWidth: 4
};

Contributing

See Contributing.

FAQs

Package last updated on 12 Dec 2019

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