@ntnyq/eslint-config-typescript-react

ntnyq eslint config for TypeScript and React.js

Usage no npm install needed!

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

README

EsLint config for React.js and TypeScript

Usage

Install

$ npm i @ntnyq/eslint-config-typescript-react -D
# OR
$ yarn add @ntnyq/eslint-config-typescript-react -D

Extend this config

in .eslintrc.js

module.exports = {
    root: true,

    extends: ['@ntnyq/typescript-react'],

    rules: {
        // Override rules
    },
}

in package.json

{
    "eslintConfig": {
        "root": true,
        "extends": "@ntnyq/typescript-react"
    }
}