Created
July 20, 2021 07:54
-
-
Save bahrmichael/804f9c3e2c7f91e5d1ac20b45189424a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file with imports | |
// old: import { SQS } from "aws-sdk"; | |
import * as SQS from "aws-sdk/clients/sqs"; | |
// eslint rule | |
"rules": { | |
"no-restricted-imports": ["error", "aws-sdk"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment