Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
chore: remove eslint-plugin-graphql, add eslint-plugin-playwright, re…
Browse files Browse the repository at this point in the history
…fresh yarn.lock
  • Loading branch information
rot1024 committed Oct 28, 2022
1 parent 731e54c commit 28c846a
Show file tree
Hide file tree
Showing 3 changed files with 2,729 additions and 2,741 deletions.
43 changes: 7 additions & 36 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,43 +19,14 @@ rules:
order: asc
caseInsensitive: true
overrides:
- files:
- e2e/**/*
extends:
- reearth/node
- plugin:playwright/playwright-test
env:
browser: false
- files:
- i18next-parser.config.js
extends:
- reearth/commonjs
- files:
- src/gql/queries/*.ts
- src/gql/fragments/*.ts
plugins:
- graphql
rules:
graphql/capitalized-type-name:
- error
- env: apollo
graphql/no-deprecated-fields:
- error
- env: apollo
graphql/required-fields:
- error
- env: apollo
requiredFields:
- id
- files:
- src/**/*.graphql
plugins:
- graphql
rules:
graphql/template-strings:
- error
- env: literal
graphql/capitalized-type-name:
- error
- env: literal
graphql/no-deprecated-fields:
- error
- env: literal
graphql/required-fields:
- error
- env: literal
requiredFields:
- id
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"dotenv": "16.0.1",
"eslint": "8.23.0",
"eslint-config-reearth": "0.2.1",
"eslint-plugin-graphql": "4.0.0",
"eslint-plugin-playwright": "^0.11.2",
"husky": "8.0.1",
"i18next-parser": "6.4.0",
"jsdom": "20.0.0",
Expand Down
Loading

0 comments on commit 28c846a

Please sign in to comment.