eslint-config-udemy-babel-addons

6.0.8 • Public • Published

Udemy ESLint Config for Babel

This configuration groups Babel specific ESLint rules. It is recommended to be used by any Babel compiled 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 Babel locally.

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

Configuration

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

// At .eslintrc.js
 
module.exports = {
    'extends': ['udemy-babel-addons'],
    rules: {
        'import/no-commonjs': 'off',
    },
};

Contributing

See Contributing.

/eslint-config-udemy-babel-addons/

    Package Sidebar

    Install

    npm i eslint-config-udemy-babel-addons

    Weekly Downloads

    76

    Version

    6.0.8

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    10

    Last publish

    Collaborators

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