-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,545 additions
and
1,244 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,29 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
"prettier/@typescript-eslint", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier | ||
"plugin:prettier/recommended", // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. | ||
], | ||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"], | ||
parserOptions: { | ||
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module", // Allows for the use of imports | ||
ecmaFeatures: { | ||
modules: true, | ||
}, | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
}, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
settings: { | ||
"import/extensions": [".js", ".jsx", ".ts", ".tsx"], | ||
"import/parsers": { | ||
"@typescript-eslint/parser": [".ts", ".tsx"], | ||
}, | ||
"import/resolver": { | ||
typescript: { | ||
directory: "./tsconfig.json", | ||
}, | ||
node: { | ||
extensions: [".js", ".jsx", ".ts", ".tsx"], | ||
}, | ||
}, | ||
es6: true, | ||
}, | ||
globals: {}, | ||
rules: { | ||
"sort-imports": [ | ||
"error", | ||
{ | ||
ignoreCase: false, | ||
ignoreDeclarationSort: false, | ||
ignoreMemberSort: false, | ||
memberSyntaxSortOrder: ["none", "all", "multiple", "single"], | ||
}, | ||
], | ||
"max-len": [ | ||
semi: ["error", "always"], | ||
quotes: ["error", "double"], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": 1, | ||
"@typescript-eslint/no-var-requires": 0, | ||
"@typescript-eslint/no-inferrable-types": [ | ||
"warn", | ||
{ | ||
code: 125, | ||
ignoreRegExpLiterals: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreStrings: true, | ||
ignoreUrls: true, | ||
}, | ||
], | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
vars: "all", | ||
args: "after-used", | ||
ignoreRestSiblings: true, | ||
argsIgnorePattern: "err", | ||
ignoreParameters: true, | ||
}, | ||
], | ||
"@typescript-eslint/no-unused-vars": "warn", | ||
}, | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@spencerbeggs/aws-cdk-domain-redirect", | ||
"description": "An AWS CDK construct that makes redirecting HTTP(S) requests to a different domain a breeze.", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"license": "MIT", | ||
"author": "C. Spencer Beggs <[email protected]>", | ||
"scripts": { | ||
|
@@ -41,51 +41,51 @@ | |
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^1.39.0", | ||
"@aws-cdk/assets": "^1.39.0", | ||
"@aws-cdk/aws-apigateway": "^1.39.0", | ||
"@aws-cdk/aws-certificatemanager": "^1.39.0", | ||
"@aws-cdk/aws-cloudformation": "^1.39.0", | ||
"@aws-cdk/aws-cloudfront": "^1.39.0", | ||
"@aws-cdk/aws-cloudwatch": "^1.39.0", | ||
"@aws-cdk/aws-cognito": "^1.39.0", | ||
"@aws-cdk/aws-ec2": "^1.39.0", | ||
"@aws-cdk/aws-elasticloadbalancing": "^1.39.0", | ||
"@aws-cdk/aws-elasticloadbalancingv2": "^1.39.0", | ||
"@aws-cdk/aws-events": "^1.39.0", | ||
"@aws-cdk/aws-iam": "^1.39.0", | ||
"@aws-cdk/aws-kms": "^1.39.0", | ||
"@aws-cdk/aws-lambda": "^1.39.0", | ||
"@aws-cdk/aws-logs": "^1.39.0", | ||
"@aws-cdk/aws-route53": "^1.39.0", | ||
"@aws-cdk/aws-route53-targets": "^1.39.0", | ||
"@aws-cdk/aws-s3": "^1.39.0", | ||
"@aws-cdk/aws-s3-assets": "^1.39.0", | ||
"@aws-cdk/aws-sns": "^1.39.0", | ||
"@aws-cdk/aws-sqs": "^1.39.0", | ||
"@aws-cdk/aws-ssm": "^1.39.0", | ||
"@aws-cdk/cdk-assets-schema": "^1.39.0", | ||
"@aws-cdk/cloud-assembly-schema": "^1.39.0", | ||
"@aws-cdk/core": "^1.39.0", | ||
"@aws-cdk/custom-resources": "^1.39.0", | ||
"@aws-cdk/cx-api": "^1.39.0", | ||
"@aws-cdk/region-info": "^1.39.0", | ||
"@types/fs-extra": "^9.0.0", | ||
"@types/jest": "^25.2.3", | ||
"@types/node": "14.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.26.0", | ||
"constructs": "^3.0.3", | ||
"@aws-cdk/assert": "^1.88.0", | ||
"@aws-cdk/assets": "^1.88.0", | ||
"@aws-cdk/aws-apigateway": "^1.88.0", | ||
"@aws-cdk/aws-certificatemanager": "^1.88.0", | ||
"@aws-cdk/aws-cloudformation": "^1.88.0", | ||
"@aws-cdk/aws-cloudfront": "^1.88.0", | ||
"@aws-cdk/aws-cloudwatch": "^1.88.0", | ||
"@aws-cdk/aws-cognito": "^1.88.0", | ||
"@aws-cdk/aws-ec2": "^1.88.0", | ||
"@aws-cdk/aws-elasticloadbalancing": "^1.88.0", | ||
"@aws-cdk/aws-elasticloadbalancingv2": "^1.88.0", | ||
"@aws-cdk/aws-events": "^1.88.0", | ||
"@aws-cdk/aws-iam": "^1.88.0", | ||
"@aws-cdk/aws-kms": "^1.88.0", | ||
"@aws-cdk/aws-lambda": "^1.88.0", | ||
"@aws-cdk/aws-logs": "^1.88.0", | ||
"@aws-cdk/aws-route53": "^1.88.0", | ||
"@aws-cdk/aws-route53-targets": "^1.88.0", | ||
"@aws-cdk/aws-s3": "^1.88.0", | ||
"@aws-cdk/aws-s3-assets": "^1.88.0", | ||
"@aws-cdk/aws-sns": "^1.88.0", | ||
"@aws-cdk/aws-sqs": "^1.88.0", | ||
"@aws-cdk/aws-ssm": "^1.88.0", | ||
"@aws-cdk/cdk-assets-schema": "^1.88.0", | ||
"@aws-cdk/cloud-assembly-schema": "^1.88.0", | ||
"@aws-cdk/core": "^1.88.0", | ||
"@aws-cdk/custom-resources": "^1.88.0", | ||
"@aws-cdk/cx-api": "^1.88.0", | ||
"@aws-cdk/region-info": "^1.88.0", | ||
"@types/fs-extra": "^9.0.6", | ||
"@types/jest": "^26.0.20", | ||
"@types/node": "14.14.25", | ||
"@typescript-eslint/eslint-plugin": "^4.14.2", | ||
"@typescript-eslint/parser": "^4.14.2", | ||
"constructs": "^3.3.14", | ||
"coveralls": "^3.0.9", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"fs-extra": "^9.0.0", | ||
"jest": "^26.0.1", | ||
"prettier": "^2.0.2", | ||
"ts-jest": "^26.0.0", | ||
"ts-node": "^8.6.2", | ||
"typescript": "^3.9.2" | ||
"eslint": "^7.19.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"fs-extra": "^9.1.0", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"ts-jest": "^26.5.0", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.1.3" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/assert": "^1.39.0", | ||
|
@@ -118,5 +118,14 @@ | |
"@aws-cdk/cx-api": "^1.39.0", | ||
"@aws-cdk/region-info": "^1.39.0", | ||
"constructs": "^3.0.3" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-apigatewayv2": "^1.88.0", | ||
"@aws-cdk/aws-applicationautoscaling": "^1.88.0", | ||
"@aws-cdk/aws-autoscaling-common": "^1.88.0", | ||
"@aws-cdk/aws-codeguruprofiler": "^1.88.0", | ||
"@aws-cdk/aws-ecr": "^1.88.0", | ||
"@aws-cdk/aws-ecr-assets": "^1.88.0", | ||
"@aws-cdk/aws-efs": "^1.88.0" | ||
} | ||
} |
Oops, something went wrong.