eslint-config-udemy-website

12.3.3 • Public • Published

Udemy ESLint Config for our Website

This is the main configuration used by our udemy/website-django/static/ codebase. It extends from most of the other packages that are in this repository.

Installation

Install ESLint locally.

$ yarn add eslint --dev

Install the Udemy ESLint Plugin locally.

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

Configuration

Add an extends section to your .eslintrc.js and specify udemy-website as an extended configuration. You can additionally adjust rules by overriding them in your rules section.

// At .eslintrc.js

module.exports = {
    'extends': ['udemy-website'],
    rules: {
        'udemy/no-function-prototype': 'off',
    },
};

Contributing

See Contributing.

/eslint-config-udemy-website/

    Package Sidebar

    Install

    npm i eslint-config-udemy-website

    Weekly Downloads

    90

    Version

    12.3.3

    License

    MIT

    Unpacked Size

    36.8 kB

    Total Files

    6

    Last publish

    Collaborators

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