Skip to content

Serverless ESLint Plugin - Detect errors and potential problems in your Lambda functions

License

Notifications You must be signed in to change notification settings

nishantjain91/serverless-eslint-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless ESLint Plugin

A Serverless Plugin for the Serverless Framework which adds support for ESLint linting.

serverless npm version Build Status

THIS PLUGIN REQUIRES SERVERLESS V0.5 OR HIGHER!

Introduction

This plugins adds capabilities to lint your Lambda functions before deploying. It also saves you from deploying ES6 syntax by accident.

Installation

In your project root, run:

npm install --save serverless-eslint-plugin

Add the plugin to s-project.json:

"plugins": [
  "serverless-eslint-plugin"
]

Usage

Run the eslint action to check one or multiple functions for errors:

serverless function eslint someFunction someOtherFunction

To apply custom configuration, add a .eslintrc file in the project root.

Note :- This project is based on serverless-jshint-plugin

ISC License. See the LICENSE file.

Bitdeli Badge

About

Serverless ESLint Plugin - Detect errors and potential problems in your Lambda functions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%