Skip to content

Repo for ESLint plugin configuration

Notifications You must be signed in to change notification settings

MissGuided/MG-Platform-lambdaESLint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-mg-lambda

ESLint plugin for Missguided serverless functions.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-mg-lambda:

$ npm install eslint-plugin-mg-lambda --save-dev

Usage

Add mg-lambda-eslint to the extends section of your .eslintrc configuration file.

{
  "extends": [
    "plugin:mg-lambda/recommended"
  ]
}