Socket
Book a DemoInstallSign in
Socket

@inrupt/eslint-config-react-ts

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inrupt/eslint-config-react-ts

Shared eslint config for Javascript at @inrupt

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
10
Created
Source

eslint-config-inrupt-react

Eslint and prettier configs

Installation

  • npm install --save-dev @inrupt/eslint-config-react
  • npx install-peerdeps @inrupt/eslint-config-react
  • npx install-peerdeps @inrupt/eslint-config-base
  • Add extends: ['@inrupt/eslint-config-react'] to your .eslintrc.js file.

Rules

Exhaustive documentation forthcoming. For now, the general principles are:

  • Load a stylistic base set - in this case, airbnb and airbnb/hooks
  • Load inrupt-base, which loads recommended configs for common libraries: eslint, jest, typescript, and prettier
  • Do very little else- as few custom rules or overrides as possible.
  • Some rules are updated to work with nextjs.

Keywords

eslint

FAQs

Package last updated on 04 Mar 2021

Did you know?

Socket

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