@omnious/eslint-config-react

0.1.2 • Public • Published
ESLint Config Omnious React

@omnious/eslint-config-react

ESLint shareable config for the Omnious JavaScript React projects


Installation

# NPM
$ npm install --save-dev eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y @omnious/eslint-config-react
# Yarn
$ yarn add -D eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y @omnious/eslint-config-react

Usage

{
    "extends": "@omnious/eslint-config-react",
    "rules": {
        // Additional, per-project rules...
    }
}

Using the omnious config with eslint:recommended

There are several rules in the eslint:recommended ruleset that Omnious style is not opinionated about that you might want to enforce in your project.

To use Omnious style in conjunction with ESLint's recommended rule set, extend them both, making sure to list omnious last:

{
  "extends": ["eslint:recommended", "@omnious/eslint-config-react"],
  "rules": {
    // Additional, per-project rules...
  }
}

License

MIT © Omnious

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @omnious/eslint-config-react

Weekly Downloads

12

Version

0.1.2

License

MIT

Unpacked Size

22.7 kB

Total Files

8

Last publish

Collaborators

  • omnious