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

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

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

  • 1.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

This package includes the shareable ESLint configuration used by Studio Freight on Vanilla JS based websites.

Usage

Install this package:

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

or

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

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

{
	"extends":  "base-js"
}

you're gucci.

Includes

Standard rules

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 16 Dec 2020

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