Add eslint-plugin-relay rules (warning only)

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-23 15:16:41 +04:00
parent 188ae13d58
commit 3899656730
8 changed files with 73 additions and 0 deletions

19
package-lock.json generated
View File

@@ -5605,6 +5605,10 @@
"dev": true,
"license": "MIT"
},
"node_modules/@types/eslint-plugin-relay": {
"resolved": "packages/eslint-relay-plugin",
"link": true
},
"node_modules/@types/estree": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
@@ -9318,6 +9322,15 @@
"semver": "bin/semver.js"
}
},
"node_modules/eslint-plugin-relay": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-relay/-/eslint-plugin-relay-2.0.0.tgz",
"integrity": "sha512-H52u+YM72VhBwhKrGSSdsjbeAWbLIgmph3z4Hgfyqm8Jt5pP5g9PbFmBp8kk10D4vZldrbNwa0esHxDRoczprg==",
"license": "MIT",
"dependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
}
},
"node_modules/eslint-scope": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
@@ -18004,14 +18017,20 @@
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-relay": "^2.0.0",
"globals": "^17.0.0",
"typescript-eslint": "^8.53.1"
},
"devDependencies": {
"@types/eslint-plugin-relay": "^1.0.0",
"eslint": "^9.39.2",
"typescript": "^5.8.3"
}
},
"packages/eslint-relay-plugin": {
"name": "@types/eslint-plugin-relay",
"version": "1.0.0"
},
"packages/helpers": {
"name": "@probo/helpers",
"version": "1.0.0",