Shareable ESLint config

Usage no npm install needed!

<script type="module">
  import memberstackEslintConfig from 'https://cdn.skypack.dev/@memberstack/eslint-config';


ESlint Config

A set of common rules for all TypeScript repositories. This module also comes with Prettier to assist with code formatting.

Commitizen friendly


This project can be installed as a dependency through GitHub:

yarn add -D @memberstack/eslint-config

Note that this ruleset is environment agnostic. It will need to be extended depending on your project and environment.

Ex. Extending for React

  "env": {
    "browser": true
  "extends": [
  "plugins": [
  "rules": {
    "react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
    "react/state-in-constructor": ["warn", "never"]