ESLint plugin for Missguided serverless functions.
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
Add mg-lambda-eslint
to the extends section of your .eslintrc
configuration file.
{
"extends": [
"plugin:mg-lambda/recommended"
]
}