serverless-dynamodb-local icon indicating copy to clipboard operation
serverless-dynamodb-local copied to clipboard

Add lint script and rules

Open darthtrevino opened this issue 8 years ago • 0 comments
trafficstars

Add a lint npm script; there's a .jshint file here, but it's not being used. It may be worth looking into a strict eslint rule-set that makes sense for LTS versions of NodeJS (4.x, 6.x).

Some options may be: https://github.com/thenativeweb/eslint-config-es https://www.npmjs.com/package/eslint-config-airbnb

etc..

The airbnb config, while great, aggressively suggests bleeding edge features that need transpilation support from babel, so it may not be a great fit here.

darthtrevino avatar Feb 19 '17 20:02 darthtrevino