Package detail

@jameslnewell/eslint-config

jameslnewell45MIT0.19.0

ESLint configuration.

readme

@jameslnewell/eslint-config

ESLint configuration.

Installation

yarn add --dev @jameslnewell/eslint-config eslint

Usage

Create a ESLint configuration file:

.eslintrc.js

module.exports = {
  extends: "@jameslnewell/eslint-config",
  parserOptions: {
    project: "./tsconfig.json"
  }
};

Add a script to your package.json:

package.json

{
  "scripts": {
    "lint": "eslint --ext .tsx,.ts,.jsx,.js ."
  }
}

Configs

@jameslnewell/eslint-config

Sans-react.

@jameslnewell/eslint-config/react

React.