Skip to content

Commit 60774be

Browse files
committed
fix: remove unnecessary whitespace in configuration and test files
Signed-off-by: Jehannes Zuidema <jkzuidema@outlook.com>
1 parent 74dffd7 commit 60774be

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

eslint.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = [
1313
"cdk.out/**",
1414
"node_modules/**",
1515
"**/*.js",
16-
"**/*.mjs",
17-
"**/*.cjs",
16+
"**/*.mjs",
17+
"**/*.cjs",
1818
"**/*.d.ts"
1919
]
2020
},
@@ -51,7 +51,7 @@ module.exports = [
5151
"one-var": "off",
5252
"max-classes-per-file": "off", // Off for CDK stack files
5353
"no-console": "off", // Allow console in CDK project
54-
54+
5555
// Warning level rules
5656
"no-unused-vars": "warn",
5757
"no-undef": "warn",
@@ -62,12 +62,12 @@ module.exports = [
6262
"max-lines-per-function": ["warn", { "max": 150 }], // Increased for CDK methods
6363
"max-statements": ["warn", 50],
6464
"prefer-destructuring": "warn",
65-
65+
6666
// Error level rules
6767
"prefer-const": "error",
6868
"no-var": "error",
6969
"no-duplicate-imports": "error",
70-
70+
7171
// Import plugin rules
7272
"import/no-unresolved": "error",
7373
"import/no-duplicates": "error",
@@ -76,15 +76,15 @@ module.exports = [
7676
"newlines-between": "always",
7777
"alphabetize": { "order": "asc", "caseInsensitive": true }
7878
}],
79-
79+
8080
// TypeScript specific rules
8181
"@typescript-eslint/explicit-function-return-type": ["warn", {
8282
"allowExpressions": true,
8383
"allowTypedFunctionExpressions": true
8484
}],
8585
"@typescript-eslint/no-explicit-any": "warn",
8686
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
87-
87+
8888
// Jest plugin rules
8989
"jest/no-disabled-tests": "warn",
9090
"jest/no-focused-tests": "error",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export interface AwsJwtStsProps {
143143
readonly tokenCertificate?: ICertificate;
144144
}
145145

146-
146+
147147
export class AwsJwtSts extends Construct {
148148
/**
149149
* SNS topic used to publish errors from the Step Function rotation flow

src/test/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// SPDX-License-Identifier: Apache-2.0
44

5-
5+
66
import * as cdk from 'aws-cdk-lib'
77
import { Match, Template } from 'aws-cdk-lib/assertions'
88

0 commit comments

Comments
 (0)