Socket
Socket
Sign inDemoInstall

@stedi-oss/eslint-plugin-stedi-aws-rules

Package Overview
Dependencies
89
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @stedi-oss/eslint-plugin-stedi-aws-rules

AWS coding best practices by Stedi


Version published
Maintainers
1
Install size
19.7 kB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 20 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc