Detalhes do pacote

eslint-config-react-typescript

ruanyl1.2kMIT1.0.10

One config to rule them all

eslint, eslintplugin, eslint-plugin

readme (leia-me)

Eslint lint configuration for TypeScript and React

npm github-workflow

Installation

$ yarn add -D eslint @typescript-eslint/eslint-plugin eslint-config-react-typescript

How to use

module.exports = {
  extends: ['eslint-config-react-typescript'],
  env: {
    node: true,
  },
  parserOptions: {
    project: 'tsconfig.json',
    sourceType: 'module',
  },
}

For React TypeScript project:

module.exports = {
  extends: ['eslint-config-react-typescript/lib/react'],
  env: {
    browser: true,
  },
  parserOptions: {
    project: 'tsconfig.json',
    sourceType: 'module',
  },
}

changelog (log de mudanças)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.10 (2022-07-15)

Bug Fixes

  • github action use latest pnpm version (f64746f)

1.0.9 (2022-03-28)

1.0.8 (2021-07-23)