Socket
Book a DemoInstallSign in
Socket

eslint-config-udemy-website

Package Overview
Dependencies
Maintainers
9
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-udemy-website

Udemy Website's ESLint configuration

latest
Source
npmnpm
Version
12.3.3
Version published
Maintainers
9
Created
Source

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.

FAQs

Package last updated on 05 Aug 2021

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