0.5.0 • Published 4 years ago

@asl-19/eslint-config-typescript-react v0.5.0

Weekly downloads
1
License
GPL-3.0-or-later
Repository
github
Last release
4 years ago

@asl-19/eslint-config-typescript-react

Shared ESLint config for ASL19 TypeScript + React projects.

Non-React projects should use @asl-19/eslint-config-typescript.

How to use

Install

yarn add @asl-19/eslint-config-typescript-react --dev
npx install-peerdeps @asl-19/eslint-config-typescript-react --dev

Add to ESLint config

Create a .eslintrc.js containing (at least) the following:

module.exports = {
  extends: ["@asl-19/typescript-react"],
};

Compatibility

This package is developed and used with Node.js 12 (the active LTS release as of 2020-06). The code should be forward-compatible, but use with newer Node.js versions is untested and unsupported.