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

@envsa/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envsa/eslint-config

A config that can be used by all DEW projects

  • 1.2.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
decreased by-73.89%
Maintainers
2
Weekly downloads
 
Created
Source

@envsa/eslint-config

Features

  • with prettier support, thanks to eslint-plugin-prettier
  • with react support

Installation

Install the package with

npm i -D @envsa/eslint-config

Then install the correct versions of each peerDependency package, which are listed by the command:

npm info "@envsa/eslint-config@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev @envsa/eslint-config

Usage

Now add the config to either your package.json:

{
  "eslintConfig": {
    "extends": "@envsa"
  }
}

to your .eslintrc:

{
  "extends": "@envsa"
}

or .eslintrc.js:

module.exports = {
  extends: '@envsa'
};

Prettier Config

This is how you use or extend the @envsa/eslint-config prettier config in your app:

// prettier.config.js
module.exports = require('@envsa/eslint-config/prettier.config');

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • react and/or node environment
  • browser and/or node environment
  • parser: babel (used babel-eslint parser)

Even though I made some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.

FAQs

Package last updated on 12 Jan 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