Standard ESLint config used in Gowento projects.
- 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
# Using npm
npm install --save-dev eslint eslint-config-gowento
# Using yarn
yarn add eslint eslint-config-gowento --dev
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');
MIT © Gowento