prettier-config-udemy-website

1.0.8 • Public • Published

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.

/prettier-config-udemy-website/

    Package Sidebar

    Install

    npm i prettier-config-udemy-website

    Weekly Downloads

    1,110

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    5.29 kB

    Total Files

    6

    Last publish

    Collaborators

    • jjinux
    • kngroo
    • inancs
    • eedeebee
    • joecan
    • vladimirkopychev-udemy
    • carmen.wick