Skip to content

Commit 803008a

Browse files
committed
Bring all files into Prettier formatting compliance
1 parent db1ca8b commit 803008a

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

jest.config.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module.exports = {
22
clearMocks: true,
3-
moduleFileExtensions: ['js', 'ts'],
4-
testEnvironment: 'node',
5-
testMatch: ['**/*.test.ts'],
6-
testRunner: 'jest-circus/runner',
3+
moduleFileExtensions: ["js", "ts"],
4+
testEnvironment: "node",
5+
testMatch: ["**/*.test.ts"],
6+
testRunner: "jest-circus/runner",
77
transform: {
8-
'^.+\\.ts$': 'ts-jest'
8+
"^.+\\.ts$": "ts-jest",
99
},
10-
verbose: true
11-
}
10+
verbose: true,
11+
};

tsconfig.json

+8-11
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"compilerOptions": {
33
/* Basic Options */
44
// "incremental": true, /* Enable incremental compilation */
5-
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
6-
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
5+
"target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
6+
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
77
// "allowJs": true, /* Allow javascript files to be compiled. */
88
// "checkJs": true, /* Report errors in .js files. */
99
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1010
// "declaration": true, /* Generates corresponding '.d.ts' file. */
1111
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1212
// "sourceMap": true, /* Generates corresponding '.map' file. */
1313
// "outFile": "./", /* Concatenate and emit output to single file. */
14-
"outDir": "./lib", /* Redirect output structure to the directory. */
15-
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
14+
"outDir": "./lib" /* Redirect output structure to the directory. */,
15+
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
1616
// "composite": true, /* Enable project compilation */
1717
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
1818
// "removeComments": true, /* Do not emit comments to output. */
@@ -21,8 +21,8 @@
2121
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2222
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
2323
/* Strict Type-Checking Options */
24-
"strict": true, /* Enable all strict type-checking options. */
25-
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
24+
"strict": true /* Enable all strict type-checking options. */,
25+
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
2626
// "strictNullChecks": true, /* Enable strict null checks. */
2727
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
2828
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
@@ -54,8 +54,5 @@
5454
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
5555
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
5656
},
57-
"exclude": [
58-
"node_modules",
59-
"**/*.test.ts"
60-
]
61-
}
57+
"exclude": ["node_modules", "**/*.test.ts"]
58+
}

0 commit comments

Comments
 (0)