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

@venncity/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venncity/eslint-config

Venn's base eslint configuration

  • 1.3.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Venn eslint configuration

This is the common eslint configuration for venn repositories.

Usage:

If you are creating a lambda from the lambda template it already has this defined so go have a drink.

Otherwise:

  • To the root of your project add the following files:

    .eslintignore

    node_modules
    coverage
    

    .eslintrc.json

    {
    	"extends": "@venncity/eslint-config"
    }
    
  • Run the following:

    npm i --save-dev eslint eslint-config-airbnb-base eslint-plugin-import @venncity/eslint-config
    
  • To your package.json file add the following scripts:

    "scripts": {
      "lint": "node_modules/eslint/bin/eslint.js .",
      "lint-fix": "npm run lint -- --fix"
    }
    
Notes:

In the future we will need multiple configs (lambda, node server, react etc). These should probably all be implemented in this repo by using the multiple configs feature of eslint (see this).

Keywords

FAQs

Package last updated on 01 Jul 2019

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