@allthings/tslint-preset-react

Allthings tslint rules for react projects

Usage no npm install needed!

<script type="module">
  import allthingsTslintPresetReact from 'https://cdn.skypack.dev/@allthings/tslint-preset-react';
</script>

README

Allthings TSLint Preset React rules

A common TSLint preset for TypeScript/React projects at Allthings. Extends the base @allthings/tslint-preset ruleset (as a peer-dependency).

Setup

yarn add @allthings/tslint-preset @allthings/tslint-preset-react --dev

Add the following to tslint.json

{
  "extends": ["@allthings/tslint-preset-react"]
}