eslint-config-gowento
v8.5.1
Published
Shared ESLint config used in Gowento projects.
Downloads
201
Readme
eslint-config-gowento
Standard ESLint config used in Gowento projects.
Features
- Extends
eslint-config-airbnb
- Provides additional rules and recommended settings for language features and standard Gowento tooling through plugins:
eslint-plugin-ava
eslint-plugin-lodash
eslint-plugin-prettier
eslint-plugin-promise
eslint-plugin-react
(provided byeslint-config-airbnb
)eslint-plugin-react-hooks
Install
# Using npm
npm install --save-dev eslint eslint-config-gowento
# Using yarn
yarn add eslint eslint-config-gowento --dev
Usage
Configuration
Configure ESLint to extend the standard Gowento configuration, using the recommended .eslintrc.js
:
module.exports = {
extends: 'gowento',
};
Configure Prettier to the standard Gowento configuration, using the recommended prettier.config.js
:
/* eslint import/no-extraneous-dependencies: ["error", { "devDependencies": true }] */
module.exports = require('eslint-config-gowento/prettier.config');
License
MIT © Gowento