Socket
Socket
Sign inDemoInstall

eslint-config-typescript-react-pro-beautiful

Package Overview
Dependencies
11
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-typescript-react-pro-beautiful

ESLint rules that specialized specialized for React + TypeScript


Version published
Maintainers
1
Created

Readme

Source

eslint-config-typescript-react-pro-beautiful

ESLint rules for all of my React + TypesScript projects. Without exhaustive-deps rule :-)


This config is:

  • ✅ No meaningless rules.
  • ✅ Only extend eslint-plugin-jsx-a11y:recommend for UX, there is no hidden rules applying.
  • ✅ Include all dependency package.(except eslint-prettier-plugin)

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

npm install --save-dev eslint-config-typescript-react-pro-beautiful eslint-plugin-prettier

or using yarn

yarn add -D eslint-config-typescript-react-pro-beautiful eslint-plugin-prettier

And install Typescript if you have not installed Typescript.
Because This package has a peerDependencies for TypeScirpt.1

npm install --save-dev typescript

or using yarn

yarn add -D typescript

Usage

Add the extends to your .eslintrc.js or .eslintrc.json or .eslintrc:

{
  "extends": "typescript-react-pro-beautiful"
}

And need .prettierrc file because this package refers your .prettierrc and use directly.
If you don't have .prettierrc, please touch .prettierrc and set prettier rules depends on your preferece like this.

{
  "singleQuote": true,
  "semi": false
}

LICENSE

MIT

Footnotes

  1. The same thing The same thing can be said for React. General install guide skiped because author assumed almost peaople who trying getting start the library are already installed React and developing React application.)

FAQs

Last updated on 20 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc