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

Shared ESLint config for ASL19 TypeScript + React projects

Usage no npm install needed!

<script type="module">
  import asl19EslintConfigTypescriptReact from 'https://cdn.skypack.dev/@asl-19/eslint-config-typescript-react';
</script>

README

@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.