Socket
Book a DemoInstallSign in
Socket

eslint-config-udemy-react-addons

Package Overview
Dependencies
Maintainers
9
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-udemy-react-addons

Udemy's React related ESLint configuration

latest
Source
npmnpm
Version
10.0.10
Version published
Weekly downloads
11
-83.33%
Maintainers
9
Weekly downloads
 
Created
Source

Udemy ESLint Config for React

This configuration groups React specific ESLint rules. It is recommended to be used by any React codebase developed at Udemy. It is mainly used by eslint-config-udemy-website.

Installation

Install ESLint locally.

$ yarn add eslint --dev

Install the Udemy ESLint Config for React locally.

$ yarn add eslint-config-udemy-react-addons --dev

Configuration

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

// At .eslintrc.js

module.exports = {
    'extends': ['udemy-react-addons'],
    rules: {
        'react/jsx-no-bind': 'off',
    },
};

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