Skip to content

gowento/eslint-config-gowento

Repository files navigation

eslint-config-gowento

Standard ESLint config used in Gowento projects.

NPM version Dependency Status Downloads

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 by eslint-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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •