Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studio-freight/eslint-config-base-react

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studio-freight/eslint-config-base-react

This package includes the shareable ESLint configuration used by [Studio Freight](https://github.com/studio-freight) on React/Next.js based websites.

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

@studio-freight/eslint-config-base-react

This package includes the shareable ESLint configuration used by Studio Freight on React/Next.js based websites.

Usage

Install this package:

npm install --save-dev @studio-freight/eslint-config-base-react

or

yarn add --dev @studio-freight/eslint-config-base-react

Then create a file named .eslintrc with following contents in the root folder of your project:

{
	"extends":  "base-react"
}

you're gucci.

Includes

ESLINT Standard React

Prettier settings:

{
	useTabs:  false,
	tabWidth:  2,
	printWidth:  80,
	singleQuote:  false,
	trailingComma:  "none",
	jsxBracketSameLine:  false,
	semi:  false
}

make sure you have the following setting enabled in VSCode:

"editor.codeActionsOnSave": {
	"source.fixAll": true
}

since prettier is already included here, you don't need to run any prettifying tools on your end, eslint already does that for you, you're welcome!

FAQs

Package last updated on 05 Feb 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc