Skip to content

Commit c33bde9

Browse files
authored
Update deps and prettify (#1162)
* update deps * prettify * prettify * prettify * update snapshots * fix ci
1 parent fffb127 commit c33bde9

File tree

87 files changed

+1055
-722
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1055
-722
lines changed
File renamed without changes.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ about: Create a bug report to help us improve
1010
_Progress of the issue based on the [Contributor Workflow](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md#a-typical-contributor-workflow)_
1111

1212
- [ ] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
13-
> Please make sure the graphql-eslint version under `package.json` matches yours.
13+
> Please make sure the graphql-eslint version under `package.json` matches yours.
1414
- [ ] 2. A failing test has been provided
1515
- [ ] 3. A local solution has been provided
1616
- [ ] 4. A pull request is pending review

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
nodeVersion: 18
1313
secrets:
1414
githubToken: ${{ secrets.GITHUB_TOKEN }}
15-
npmToken: ${{ secrets.NPM_TOKEN }}
15+
npmToken: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,5 @@ dist
104104
.tern-port
105105

106106

107-
.bob
108-
temp
109-
.idea
107+
.bob/
108+
.idea/

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist/
2+
docs/rules/
3+
packages/plugin/tests/__snapshots__/
4+
examples/prettier/invalid.graphql
5+
examples/prettier/invalid.js

.prettierrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.prettierrc.cjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
trailingComma: 'es5',
3+
printWidth: 100,
4+
singleQuote: true,
5+
arrowParens: 'avoid',
6+
overrides: [
7+
{
8+
files: '*.md',
9+
options: {
10+
semi: false,
11+
trailingComma: 'none',
12+
},
13+
},
14+
],
15+
};

.vscode/launch.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
{
88
"type": "pwa-node",
99
"request": "launch",
10-
"name": "Debug Tests",
11-
"skipFiles": [
12-
"<node_internals>/**"
13-
],
10+
"name": "Debug Tests",
11+
"skipFiles": ["<node_internals>/**"],
1412
"program": "${workspaceFolder}/node_modules/.bin/jest",
1513
"preLaunchTask": "tsc: build - tsconfig.json",
16-
"outFiles": [
17-
]
14+
"outFiles": []
1815
}
1916
]
20-
}
17+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This project integrates GraphQL and ESLint, for a better developer experience.
99
## Key Features
1010

1111
- 🚀 Integrates with ESLint core (as a ESTree parser)
12-
- 🚀 Works on `.graphql` files, `gql` usages and `/* GraphQL */` magic comments
12+
- 🚀 Works on `.graphql` files, `gql` usages and `/* GraphQL */` magic comments
1313
- 🚀 Lints both GraphQL schema and GraphQL operations
1414
- 🚀 Extended type info for more advanced usages
1515
- 🚀 Supports ESLint directives (for example: `eslint-disable-next-line`)
@@ -188,7 +188,7 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md).
188188
|[`relay`](packages/plugin/src/configs/relay.json)|enables rules from Relay specification for schema (SDL) development|
189189
<!-- prettier-ignore-end -->
190190

191-
> If you are in a project that develops the GraphQL schema, you'll need `schema` rules.
191+
> If you are in a project that develops the GraphQL schema, you'll need `schema` rules.
192192

193193
> If you are in a project that develops GraphQL operations (query/mutation/subscription), you'll need `operations` rules.
194194

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
7171
[variables-are-input-types](rules/variables-are-input-types.md)|A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object).|![recommended][]|🔮|
7272
[variables-in-allowed-position](rules/variables-in-allowed-position.md)|Variables passed to field arguments conform to type.|![recommended][]|🔮|
7373
<!-- prettier-ignore-end -->
74+
7475
[recommended]: https://img.shields.io/badge/-recommended-green.svg
7576
[all]: https://img.shields.io/badge/-all-blue.svg

0 commit comments

Comments
 (0)