@chaucerbao/eslint-config

A preset of recommended ESLint rules for Typescript and React

Usage no npm install needed!

<script type="module">
  import chaucerbaoEslintConfig from 'https://cdn.skypack.dev/@chaucerbao/eslint-config';
</script>

README

ESLint Recommended Presets for TypeScript + React

Installation

npm install --save-dev @chaucerbao/eslint-config

Usage

Add this preset to the extends property of your .eslintrc

{
  "extends": ["@chaucerbao"]
}

Or this, if you want to add linting for React

{
  "extends": ["@chaucerbao/eslint-config/react"]
}