🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

eslint-config-udemy-basics

Package Overview
Dependencies
Maintainers
9
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-udemy-basics

Udemy's Base ESLint configuration

latest
Source
npmnpm
Version
9.0.11
Version published
Weekly downloads
440
35.38%
Maintainers
9
Weekly downloads
 
Created
Source

Udemy Basic ESLint Config

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

Installation

Install ESLint locally.

$ yarn add eslint --dev

Install the Udemy Basic ESLint Config locally.

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

Configuration

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

// At .eslintrc.js

module.exports = {
    'extends': ['udemy-basics'],
    rules: {
        'promise/catch-or-return': '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