Skip to content

Commit 4cfccbd

Browse files
committed
lint: format json files
1 parent 0b359ba commit 4cfccbd

4 files changed

Lines changed: 41 additions & 32 deletions

File tree

ts/.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ insert_final_newline = true
1111
max_line_length = off
1212
trim_trailing_whitespace = true
1313

14-
[**/package{,-lock}.json]
14+
[**/*.json]
1515
indent_size = 2
1616
indent_style = space

ts/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
"build": "npm run compile && npm run lint && npm run docs && npm run test",
2828
"prepublishOnly": "npm run make && npm run check && npm run build"
2929
},
30-
"files": ["./build/", "./dist/"],
30+
"files": [
31+
"./build/",
32+
"./dist/"
33+
],
3134
"imports": {
3235
"#binaryen-raw": {
3336
"types": "./src/types/binaryen_js.d.ts",

ts/test/tsconfig.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
2-
"extends": "../tsconfig.json",
3-
"compilerOptions": {
4-
// Modules
5-
"module": "nodenext",
6-
"rootDir": "../",
7-
"types": ["node"],
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
// Modules
5+
"module": "nodenext",
6+
"rootDir": "../",
7+
"types": [
8+
"node"
9+
],
810

9-
// Emit
10-
"noEmit": true,
11-
},
12-
"include": ["./"],
11+
// Emit
12+
"noEmit": true,
13+
},
14+
"include": [
15+
"./"
16+
],
1317
}

ts/tsconfig.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
{
2-
// TSConfig: https://www.typescriptlang.org/tsconfig/
3-
"compilerOptions": {
4-
// Type Checking
5-
"exactOptionalPropertyTypes": true,
6-
"noImplicitOverride": true,
7-
"noImplicitReturns": true,
8-
"noPropertyAccessFromIndexSignature": true,
2+
// TSConfig: https://www.typescriptlang.org/tsconfig/
3+
"compilerOptions": {
4+
// Type Checking
5+
"exactOptionalPropertyTypes": true,
6+
"noImplicitOverride": true,
7+
"noImplicitReturns": true,
8+
"noPropertyAccessFromIndexSignature": true,
99

10-
// Modules
11-
"module": "esnext",
12-
"rewriteRelativeImportExtensions": true,
13-
"rootDir": "./src/",
10+
// Modules
11+
"module": "esnext",
12+
"rewriteRelativeImportExtensions": true,
13+
"rootDir": "./src/",
1414

15-
// Emit
16-
"declaration": true,
17-
"outDir": "./dist/",
15+
// Emit
16+
"declaration": true,
17+
"outDir": "./dist/",
1818

19-
// Interop Constraints
20-
"verbatimModuleSyntax": true,
19+
// Interop Constraints
20+
"verbatimModuleSyntax": true,
2121

22-
// Completeness
23-
"skipLibCheck": true,
24-
},
25-
"include": ["./src/"],
22+
// Completeness
23+
"skipLibCheck": true,
24+
},
25+
"include": [
26+
"./src/"
27+
],
2628
}

0 commit comments

Comments
 (0)