Skip to content
Kepler Sticka-Jones

eslint-config-starstuff

Status: active​​Role: creator, maintainer​​GitHub​​npm​​

I created this ESLint config as a base style config for all of my JavaScript & TypeScript projects in 2019.

Philosophy

This config is built with the assumption that you’re going to be using Prettier across your project, and want ESLint to provide advice and respect Prettier’s formatting. This config aims to share this in a simple, shareable config.

Installation

npm install --save-dev eslint eslint-config-starstuff

Usage

In your package.json:

{
  "eslintConfig": {
    "extends": ["starstuff"]
  }
}

With TypeScript

This config includes a special config for TypeScript, to use it set the following in your package.json:

{
  "eslintConfig": {
    "extends": ["starstuff/typescript"]
  }
}

With React

This config includes a special config for React projects, to use it set the following after configuring ESLint for your base language in your package.json:

{
  "eslintConfig": {
    "extends": [
      // "starstuff", or "starstuff/typescript",
      "starstuff/react"
    ]
  }
}

License

Copyright 2019 Kepler Sticka-Jones. Licensed ISC