Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a17d98

Browse files
committed
chore: replace eslint-plugin-graphql with @graphl-eslint/eslint-plugin
1 parent75a6d69 commit7a17d98

File tree

4 files changed

+299
-90
lines changed

4 files changed

+299
-90
lines changed

‎package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"docsearch.js":"^2.6.3",
4545
"eslint":"^7.32.0",
4646
"eslint-config-prettier":"^8.3.0",
47-
"eslint-plugin-graphql":"^4.0.0",
4847
"eslint-plugin-import":"^2.20.2",
4948
"eslint-plugin-node":"^11.1.0",
5049
"eslint-plugin-prettier":"^4.0.0",

‎packages/@vue/cli-ui/.eslintrc.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ module.exports = {
1111
name:'off'
1212
},
1313

14-
plugins:[
15-
'graphql'
16-
],
17-
1814
rules:{
1915
'vue/html-self-closing':'error',
2016
'vue/no-use-v-if-with-v-for':'warn',
@@ -28,5 +24,16 @@ module.exports = {
2824
babelOptions:{
2925
cwd:__dirname
3026
}
31-
}
27+
},
28+
29+
overrides:[
30+
{
31+
files:['*.graphql'],
32+
parser:'@graphql-eslint/eslint-plugin',
33+
plugins:['@graphql-eslint'],
34+
rules:{
35+
'@graphql-eslint/known-type-names':'error'
36+
}
37+
}
38+
]
3239
}

‎packages/@vue/cli-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"devDependencies": {
6666
"@babel/core":"^7.12.16",
6767
"@babel/eslint-parser":"^7.12.16",
68+
"@graphql-eslint/eslint-plugin":"^3.8.0",
6869
"@vue/cli-plugin-babel":"^5.0.0-rc.3",
6970
"@vue/cli-plugin-e2e-cypress":"^5.0.0-rc.3",
7071
"@vue/cli-plugin-eslint":"^5.0.0-rc.3",
@@ -79,7 +80,6 @@
7980
"cross-env":"^7.0.3",
8081
"date-fns":"^2.17.0",
8182
"eslint":"^7.32.0",
82-
"eslint-plugin-graphql":"^4.0.0",
8383
"eslint-plugin-import":"^2.20.2",
8484
"eslint-plugin-node":"^11.1.0",
8585
"eslint-plugin-promise":"^5.1.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp