Skip to content

Commit

Permalink
feat(lambda,event-bridge): lambda event sources (#179)
Browse files Browse the repository at this point in the history
BREAKING_CHANGE: Some of the type parameters for Function and EventBus interfaces may have changed.
  • Loading branch information
thantos committed Jun 11, 2022
1 parent 02e2d51 commit 509e6f7
Show file tree
Hide file tree
Showing 29 changed files with 1,164 additions and 275 deletions.
20 changes: 19 additions & 1 deletion .eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 18 additions & 5 deletions .projenrc.js
Expand Up @@ -110,7 +110,7 @@ const project = new CustomTypescriptProject({
"constructs@^10.0.0",
"esbuild",
"typesafe-dynamodb@^0.1.5",
"typescript@^4.6.2",
"typescript@^4.7.2",
],
eslintOptions: {
lintProjenRc: true,
Expand Down Expand Up @@ -178,20 +178,33 @@ project.eslint.addRules({
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/member-ordering": "off",
"brace-style": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
});

/**
* ES Lint parser needs to know about all of the tsconfig files to use.
*/
project.eslint.addOverride({
files: ["*.ts", "*.tsx"],
files: ["*.ts", "*.mts", "*.cts", "*.tsx"],
parserOptions: {
project: [
"./tsconfig.dev.json",
"./test-app/tsconfig.json",
"./website/tsconfig.json",
],
},
rules: {
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
accessibility: "explicit",
overrides: {
accessors: "explicit",
constructors: "no-public",
methods: "explicit",
properties: "off",
parameterProperties: "off",
},
},
],
},
});

project.synth();
4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 509e6f7

Please sign in to comment.