Eslint Plugin Stedi Aws Rules Save Abandoned

Best practices around using AWS SDK & Lambda runtime in JavaScript / TypeScript projects by Stedi.

Project README

eslint-plugin-stedi-aws-rules

Best practices around using AWS SDK in Javascript & Typescript projects.

semantic-release

References:

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @stedi-oss/eslint-plugin-stedi-aws-rules:

npm install @stedi-oss/eslint-plugin-stedi-aws-rules --save-dev

Usage

Add stedi to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@stedi-oss/stedi-aws-rules"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "@stedi-oss/stedi-aws-rules/no-aws-import": "error",
    "@stedi-oss/stedi-aws-rules/instrument-aws-clients": "error",
    "@stedi-oss/stedi-aws-rules/instrument-document-clients": "error"
  }
}

Supported Rules

Contributing

As Stedi uses this for own projects, we know this might not be the perfect approach for all the projects out there. If you have any ideas, just open an issue and tell us you think.

If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

Adding a new rule

To follow our structure, when bootstraping new rule please use generator-eslint to do so.

Make sure you're in the top-level directory of this repo and type:

$ yo eslint:rule

Releases

New releases are generated with each commit to the master using semantic-release

License

MIT License © Stedi

Open Source Agenda is not affiliated with "Eslint Plugin Stedi Aws Rules" Project. README Source: Stedi-Archive/eslint-plugin-stedi-aws-rules
Stars
31
Open Issues
5
Last Commit
10 months ago

Open Source Agenda Badge

Open Source Agenda Rating