Skip to content

superbet-group/eslint-config

Repository files navigation

Deprecated

This package is now split into different packages based on the language / technology the rules support.

Consider updating to @superbet/eslint-config-typescript-react-jest for similar functionality.

@superbet/eslint-config logo

Superbet Shared ESLint Config

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

Add to a Project

Install Configuration

npm install @superbet/eslint-config --save-dev

Also add Peer Dependencies:

npm install eslint prettier typescript --save-dev

Add to ESLint Configuration

{
  "extends": "@superbet/eslint-config"
}

Using .eslintrc file

Or

module.exports = {
  extends: "@superbet/eslint-config",
};

Using .eslintrc.js file

Suggestions?

Create a discussion on GitHub or learn how to make a contribution.