Skip to content

Commit 65559b9

Browse files
committed
Prettier again
1 parent d2bb769 commit 65559b9

File tree

27 files changed

+68
-64
lines changed

27 files changed

+68
-64
lines changed

.eslintrc.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"parser": "@typescript-eslint/parser",
33
"parserOptions": {
4-
"project": "./tsconfig.json",
4+
"project": "./tsconfig.json"
55
},
66
"extends": [
77
"eslint:recommended",
88
"standard",
99
"prettier",
10-
"plugin:@typescript-eslint/recommended",
10+
"plugin:@typescript-eslint/recommended"
1111
],
1212
"plugins": ["@typescript-eslint"],
1313
"rules": {
@@ -35,26 +35,26 @@
3535
"no-use-before-define": "off",
3636
"import/no-extraneous-dependencies": [
3737
"error",
38-
{ "devDependencies": ["**/*.test.ts", "**/*.spec.ts"] },
39-
],
38+
{ "devDependencies": ["**/*.test.ts", "**/*.spec.ts"] }
39+
]
4040
},
4141
"env": {
4242
"es6": true,
43-
"node": true,
43+
"node": true
4444
},
4545
"overrides": [
4646
{
4747
"files": ["**/test/**/*.{ts,js}", "*.spec.ts"],
4848
"env": {
49-
"jest": true,
49+
"jest": true
5050
},
5151
"rules": {
52-
"@typescript-eslint/no-unused-vars": "off",
53-
},
54-
},
52+
"@typescript-eslint/no-unused-vars": "off"
53+
}
54+
}
5555
],
5656
"ignorePatterns": ["dist", "node_modules", "examples", "website", "scripts", ".bob"],
5757
"globals": {
58-
"BigInt": true,
59-
},
58+
"BigInt": true
59+
}
6060
}

.prettierrc.cjs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
module.exports = require('@theguild/prettier-config');
1+
const guildConfig = require('@theguild/prettier-config');
2+
module.exports = {
3+
...guildConfig,
4+
overrides: [{ files: '*.json', options: { trailingComma: 'none' } }, ...guildConfig.overrides],
5+
};

examples/fastify/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/federation-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/gcp-functions/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "commonjs",
88
"lib": ["esnext"],
99
"allowSyntheticDefaultImports": true,
10-
"esModuleInterop": true,
10+
"esModuleInterop": true
1111
},
12-
"files": ["index.ts"],
12+
"files": ["index.ts"]
1313
}

examples/graphql-file-upload-example/frontend/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
1616
"noEmit": true,
17-
"jsx": "react-jsx",
17+
"jsx": "react-jsx"
1818
},
19-
"include": ["src"],
19+
"include": ["src"]
2020
}

examples/graphql-file-upload-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/grpc-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/grpc-reflection-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/hello-world-esm/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"compilerOptions": {
3-
"module": "CommonJS",
4-
},
3+
"module": "CommonJS"
4+
}
55
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"compilerOptions": {
3-
"module": "CommonJS",
4-
},
3+
"module": "CommonJS"
4+
}
55
}

examples/json-schema-fhir/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/json-schema-file-upload/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/json-schema-subscriptions/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"module": "commonjs",
44
"target": "es6",
55
"rootDir": "./",
6-
"esModuleInterop": true,
7-
},
6+
"esModuleInterop": true
7+
}
88
}

examples/nextjs-apollo-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
1515
"jsx": "preserve",
16-
"incremental": true,
16+
"incremental": true
1717
},
1818
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
19-
"exclude": ["node_modules"],
19+
"exclude": ["node_modules"]
2020
}

examples/nextjs-sdk-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
1515
"jsx": "preserve",
16-
"incremental": true,
16+
"incremental": true
1717
},
1818
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
19-
"exclude": ["node_modules"],
19+
"exclude": ["node_modules"]
2020
}

examples/odata-msgraph-programmatic-ts/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
66
"lib": ["esnext"],
77
"esModuleInterop": true,
8-
"allowSyntheticDefaultImports": true,
8+
"allowSyntheticDefaultImports": true
99
},
1010
"include": ["src"],
11-
"exclude": ["node_modules"],
11+
"exclude": ["node_modules"]
1212
}

examples/openapi-javascript-wiki/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"moduleResolution": "node",
66
"lib": ["esnext"],
77
"esModuleInterop": true,
8-
"allowSyntheticDefaultImports": true,
8+
"allowSyntheticDefaultImports": true
99
},
1010
"files": [".mesh/index.d.ts", "additional-resolvers.ts"],
11-
"exclude": ["node_modules"],
11+
"exclude": ["node_modules"]
1212
}

examples/openapi-react-weatherbit/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"isolatedModules": true,
1515
"sourceMap": true,
1616
"jsx": "react",
17-
"noFallthroughCasesInSwitch": true,
17+
"noFallthroughCasesInSwitch": true
1818
},
19-
"include": ["src"],
19+
"include": ["src"]
2020
}

examples/openapi-subscriptions/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
66
"lib": ["esnext"],
77
"esModuleInterop": true,
8-
"allowSyntheticDefaultImports": true,
8+
"allowSyntheticDefaultImports": true
99
},
10-
"exclude": ["node_modules"],
10+
"exclude": ["node_modules"]
1111
}

examples/openwhisk-example/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"lib": ["esnext"],
88
"esModuleInterop": true,
99
"allowSyntheticDefaultImports": true,
10-
"skipLibCheck": true,
10+
"skipLibCheck": true
1111
},
1212
"files": ["src/index.ts"],
13-
"exclude": ["node_modules"],
13+
"exclude": ["node_modules"]
1414
}

examples/postgres-geodb/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"module": "commonjs",
55
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
66
"lib": ["esnext"],
7-
"sourceMap": true /* Generates corresponding '.map' file. */,
7+
"sourceMap": true /* Generates corresponding '.map' file. */
88
},
99
"include": ["src"],
10-
"exclude": ["node_modules"],
10+
"exclude": ["node_modules"]
1111
}

examples/programmatic-batching/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"moduleResolution": "node",
66
"lib": ["esnext"],
77
"esModuleInterop": true,
8-
"allowSyntheticDefaultImports": true,
8+
"allowSyntheticDefaultImports": true
99
},
10-
"exclude": ["node_modules"],
10+
"exclude": ["node_modules"]
1111
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "esnext",
4+
"target": "esnext"
55
},
6-
"include": ["src"],
6+
"include": ["src"]
77
}

tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"@graphql-mesh/string-interpolation": ["packages/string-interpolation/src/index"],
4040
"@graphql-mesh/*": ["packages/handlers/*/src/index"],
4141
"json-machete": ["packages/json-machete/src/index"],
42-
"@omnigraph/*": ["packages/loaders/*/src/index"],
43-
},
42+
"@omnigraph/*": ["packages/loaders/*/src/index"]
43+
}
4444
},
4545
"include": ["./declarations.d.ts", "packages"],
46-
"exclude": ["**/node_modules", "**/dist"],
46+
"exclude": ["**/node_modules", "**/dist"]
4747
}

website/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"jsx": "preserve",
1616
"incremental": true,
1717
"paths": {
18-
"@/*": ["./*"],
19-
},
18+
"@/*": ["./*"]
19+
}
2020
},
2121
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
22-
"exclude": ["node_modules"],
22+
"exclude": ["node_modules"]
2323
}

0 commit comments

Comments
 (0)