1.0.8 • Published 3 years ago

@memberstack/eslint-config v1.0.8

Weekly downloads
90
License
ISC
Repository
github
Last release
3 years ago

ESlint Config

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

Commitizen friendly

Installation

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": [
    "@memberstack/eslint-config",
    "plugin:react/recommended"
  ],
  "plugins": [
    "react"
  ],
  "rules": {
    "react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
    "react/state-in-constructor": ["warn", "never"]
  }
}
1.0.8

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago