@omnious/eslint-config-react

ESLint shareable config for the Omnious JavaScript React projects

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
011Apr 9, 2019Mar 7, 2018Minified + gzip package size for @omnious/eslint-config-react in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.