Skip to content

Commit

Permalink
chore: update prettier settings
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Jun 4, 2023
1 parent cf77b86 commit 4d4a4c8
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 98 deletions.
102 changes: 6 additions & 96 deletions .eslintrc.json

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

2 changes: 2 additions & 0 deletions .gitattributes

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

2 changes: 2 additions & 0 deletions .gitignore

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

1 change: 1 addition & 0 deletions .prettierignore

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

8 changes: 8 additions & 0 deletions .prettierrc.json

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

12 changes: 12 additions & 0 deletions .projen/deps.json

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

2 changes: 2 additions & 0 deletions .projen/files.json

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

16 changes: 14 additions & 2 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { awscdk } from 'projen';
import { TrailingComma } from 'projen/lib/javascript';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'go-to-k',
authorAddress: '24818752+go-to-k@users.noreply.github.com',
Expand All @@ -9,11 +10,22 @@ const project = new awscdk.AwsCdkConstructLibrary({
name: 'elb-other-5xx-alarm',
projenrcTs: true,
repositoryUrl: 'https://github.com/go-to-k/elb-other-5xx-alarm.git',
license: 'MIT',
keywords: ['aws', 'cdk', 'aws-cdk', 'cloudwatch', 'elb'],
prettier: true,
prettierOptions: {
settings: {
singleQuote: true,
jsxSingleQuote: true,
trailingComma: TrailingComma.ALL,
semi: true,
printWidth: 100,
},
},
eslintOptions: {
dirs: ['src'],
// prettier: true,
},
license: 'MIT',
keywords: ['aws', 'cdk', 'aws-cdk', 'cloudwatch', 'elb'],
gitignore: ['*.js', '*.d.ts', 'cdk.out/'],
// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
Expand Down
3 changes: 3 additions & 0 deletions package.json

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

29 changes: 29 additions & 0 deletions yarn.lock

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

0 comments on commit 4d4a4c8

Please sign in to comment.