@omnious/eslint-config

0.2.1 • Public • Published
ESLint Config Omnious

@omnious/eslint-config

ESLint shareable config for the Omnious JavaScript style guide


Installation

# NPM
$ npm install --save-dev eslint @omnious/eslint-config
# Yarn
$ yarn add -D eslint @omnious/eslint-config

Usage

{
  "extends": "@omnious",
  "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"],
  "rules": {
    // Additional, per-project rules...
  }
}

License

MIT © Omnious

Package Sidebar

Install

npm i @omnious/eslint-config

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

21.8 kB

Total Files

12

Last publish

Collaborators

  • omnious