eslint-config-hubba

2.1.0 • Public • Published

This is Hubba's shared ESLint configuration to be used across all JS environments.

Instructions

Install

npm install --save-dev eslint-config-hubba

Integrate

Head to your project root and create a new .eslintrc.js file and add the following configuration at the top of the file

module.exports = {
    extends: 'eslint-config-hubba'
};

Extend

This will expand in future versions, but you can add your own custom project rules by extending your local .eslintrc.js file:

module.exports = {
    extends: 'eslint-config-hubba',
    rules: {
        'no-console': 'error'
    }
};

/eslint-config-hubba/

    Package Sidebar

    Install

    npm i eslint-config-hubba

    Weekly Downloads

    5

    Version

    2.1.0

    License

    ISC

    Unpacked Size

    4.53 kB

    Total Files

    4

    Last publish

    Collaborators

    • azharkhan
    • iain8
    • yizhao
    • slashdash11
    • yzhao_hubba