@omnious/eslint-config-react
v0.1.2
Published
ESLint shareable config for the Omnious JavaScript React projects
Downloads
2
Maintainers
Readme
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...
}
}