Skip to content

Commit

Permalink
lint projenrc
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsFronius committed Mar 22, 2023
1 parent 300c13b commit 8e1e07f
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { awscdk } = require('projen');
const { NodeProject,
NpmAccess
const {
NodeProject,
NpmAccess,
} = require('projen/lib/javascript');

const project = new awscdk.AwsCdkConstructLibrary({
Expand All @@ -16,10 +17,10 @@ const project = new awscdk.AwsCdkConstructLibrary({
excludeTypescript: ['src/commercetools-subscription-provider/**', 'src/commercetools-api-extension-provider/**'],
eslint: true,
eslintOptions: {
ignorePatterns: ['src/commercetools-subscription-provider/**', 'src/commercetools-api-extension-provider/**']
ignorePatterns: ['src/commercetools-subscription-provider/**', 'src/commercetools-api-extension-provider/**'],
},
releaseToNpm: true,
npmAccess: NpmAccess.PUBLIC
npmAccess: NpmAccess.PUBLIC,
});

const ctSubscriptionProviderProject = new NodeProject({
Expand All @@ -32,12 +33,12 @@ const ctSubscriptionProviderProject = new NodeProject({
jest: false,
jestOptions: {
jestConfig: {
rootDir: 'src/commercetools-subscription-provider'
}
rootDir: 'src/commercetools-subscription-provider',
},
},
parent: project,
outdir: 'src/commercetools-subscription-provider'
})
outdir: 'src/commercetools-subscription-provider',
});

const ctApiExtensionProviderProject = new NodeProject({
name: 'commercetools-api-extension-provider',
Expand All @@ -49,11 +50,11 @@ const ctApiExtensionProviderProject = new NodeProject({
jest: false,
jestOptions: {
jestConfig: {
rootDir: 'src/commercetools-api-extension-provider'
}
rootDir: 'src/commercetools-api-extension-provider',
},
},
parent: project,
outdir: 'src/commercetools-api-extension-provider'
})
outdir: 'src/commercetools-api-extension-provider',
});

project.synth()
project.synth();

0 comments on commit 8e1e07f

Please sign in to comment.