0.1.4 • Published 10 years ago
serverless-eslint-plugin v0.1.4
Serverless ESLint Plugin
A Serverless Plugin for the Serverless Framework which adds support for ESLint linting.
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-pluginAdd 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 someOtherFunctionTo 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.