@eliumhq/eslint-config-elium

7.0.0 • Public • Published

eslint-config-elium

An ESLint Shareable Config for Javascript @Elium

Install

yarn add @eliumhq/eslint-config-elium --dev

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Here's how to install everything you need:

yarn add --dev eslint eslint-config-standard eslint-config-standard-react eslint-config-prettier eslint-plugin-import eslint-plugin-graphql eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard eslint-plugin-react-hooks graphql prettier

Then, add this to your .eslintrc file:

{
  "extends": "@eliumhq/elium"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Dependencies (0)

    Dev Dependencies (17)

    Package Sidebar

    Install

    npm i @eliumhq/eslint-config-elium

    Weekly Downloads

    17

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    6.33 kB

    Total Files

    7

    Last publish

    Collaborators