Skip to content

Commit 2edeb7f

Browse files
committed
chore: prettify settings files
1 parent d96d887 commit 2edeb7f

File tree

6 files changed

+18
-19
lines changed

6 files changed

+18
-19
lines changed

commitlint.config.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
module.exports = {
2-
extends: ['@commitlint/config-conventional'],
2+
extends: ["@commitlint/config-conventional"],
33
rules: {
4-
"type-enum": [2, "always", [
5-
'feat',
6-
'fix',
7-
'docs',
8-
'test',
9-
'chore'
10-
]]
4+
"type-enum": [2, "always", ["feat", "fix", "docs", "test", "chore"]]
115
}
12-
}
6+
};

jest.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ const base = require("./jest.config.base.js");
22

33
module.exports = {
44
...base,
5-
projects: ["<rootDir>/protocol_tests/*/jest.config.js", "<rootDir>/packages/*/jest.config.js"],
5+
projects: [
6+
"<rootDir>/protocol_tests/*/jest.config.js",
7+
"<rootDir>/packages/*/jest.config.js"
8+
],
69
testPathIgnorePatterns: ["/node_modules/", "<rootDir>/clients/client-.*"],
710
coveragePathIgnorePatterns: [
811
"/node_modules/",

packages/hash-blob-browser/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
process.env.CHROME_BIN = require("puppeteer").executablePath();
44

5-
module.exports = function(config) {
5+
module.exports = function (config) {
66
config.set({
77
// base path that will be used to resolve all patterns (eg. files, exclude)
88
basePath: "",

packages/stream-collector-browser/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
process.env.CHROME_BIN = require("puppeteer").executablePath();
2-
module.exports = function(config) {
2+
module.exports = function (config) {
33
config.set({
44
frameworks: ["jasmine", "karma-typescript"],
55
files: ["src/**/*.ts"],

packages/stream-collector-native/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
process.env.CHROME_BIN = require("puppeteer").executablePath();
2-
module.exports = function(config) {
2+
module.exports = function (config) {
33
config.set({
44
frameworks: ["jasmine", "karma-typescript"],
55
files: ["src/**/*.ts"],

scripts/generate-clients/copy-to-clients.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ const getOverwritablePredicate = packageName => pathName => {
2323
"endpoints.ts"
2424
];
2525
return (
26-
pathName.toLowerCase().indexOf(
27-
packageName
28-
.toLowerCase()
29-
.replace("@aws-sdk/client-", "")
30-
.replace(/-/g, "")
31-
) >= 0 || overwritablePathnames.indexOf(pathName) >= 0
26+
pathName
27+
.toLowerCase()
28+
.indexOf(
29+
packageName
30+
.toLowerCase()
31+
.replace("@aws-sdk/client-", "")
32+
.replace(/-/g, "")
33+
) >= 0 || overwritablePathnames.indexOf(pathName) >= 0
3234
);
3335
};
3436

0 commit comments

Comments
 (0)