Fix eslint-plugin-relay d.ts reach by console and trust
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@probo/eslint-config": "1.0.0",
|
"@probo/eslint-config": "1.0.0",
|
||||||
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"@tailwindcss/vite": "^4.1.7",
|
"@tailwindcss/vite": "^4.1.7",
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.21",
|
||||||
"@types/react": "^19.1.2",
|
"@types/react": "^19.1.2",
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"erasableSyntaxOnly": true,
|
"erasableSyntaxOnly": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noUncheckedSideEffectImports": true
|
"noUncheckedSideEffectImports": true,
|
||||||
|
"types": ["@probo/eslint-plugin-relay-types"]
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "eslint.config.mjs"]
|
"include": ["vite.config.ts", "eslint.config.mjs"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@probo/eslint-config": "1.0.0",
|
"@probo/eslint-config": "1.0.0",
|
||||||
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"@tailwindcss/vite": "^4.1.7",
|
"@tailwindcss/vite": "^4.1.7",
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.21",
|
||||||
"@types/react": "^19.1.2",
|
"@types/react": "^19.1.2",
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"erasableSyntaxOnly": true,
|
"erasableSyntaxOnly": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noUncheckedSideEffectImports": true
|
"noUncheckedSideEffectImports": true,
|
||||||
|
"types": ["@probo/eslint-plugin-relay-types"]
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "eslint.config.mjs"]
|
"include": ["vite.config.ts", "eslint.config.mjs"]
|
||||||
}
|
}
|
||||||
|
|||||||
16
package-lock.json
generated
16
package-lock.json
generated
@@ -52,6 +52,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@probo/eslint-config": "1.0.0",
|
"@probo/eslint-config": "1.0.0",
|
||||||
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"@tailwindcss/vite": "^4.1.7",
|
"@tailwindcss/vite": "^4.1.7",
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.21",
|
||||||
"@types/react": "^19.1.2",
|
"@types/react": "^19.1.2",
|
||||||
@@ -92,6 +93,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@probo/eslint-config": "1.0.0",
|
"@probo/eslint-config": "1.0.0",
|
||||||
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"@tailwindcss/vite": "^4.1.7",
|
"@tailwindcss/vite": "^4.1.7",
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.21",
|
||||||
"@types/react": "^19.1.2",
|
"@types/react": "^19.1.2",
|
||||||
@@ -2665,6 +2667,10 @@
|
|||||||
"resolved": "packages/eslint-config",
|
"resolved": "packages/eslint-config",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@probo/eslint-plugin-relay-types": {
|
||||||
|
"resolved": "packages/eslint-relay-plugin-types",
|
||||||
|
"link": true
|
||||||
|
},
|
||||||
"node_modules/@probo/helpers": {
|
"node_modules/@probo/helpers": {
|
||||||
"resolved": "packages/helpers",
|
"resolved": "packages/helpers",
|
||||||
"link": true
|
"link": true
|
||||||
@@ -5605,10 +5611,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/eslint-plugin-relay": {
|
|
||||||
"resolved": "packages/eslint-relay-plugin",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/@types/estree": {
|
"node_modules/@types/estree": {
|
||||||
"version": "1.0.8",
|
"version": "1.0.8",
|
||||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
||||||
@@ -18022,13 +18024,13 @@
|
|||||||
"typescript-eslint": "^8.53.1"
|
"typescript-eslint": "^8.53.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/eslint-plugin-relay": "^1.0.0",
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.2",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages/eslint-relay-plugin": {
|
"packages/eslint-relay-plugin-types": {
|
||||||
"name": "@types/eslint-plugin-relay",
|
"name": "@probo/eslint-plugin-relay-types",
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
},
|
},
|
||||||
"packages/helpers": {
|
"packages/helpers": {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"typescript-eslint": "^8.53.1"
|
"typescript-eslint": "^8.53.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/eslint-plugin-relay": "^1.0.0",
|
"@probo/eslint-plugin-relay-types": "^1.0.0",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.2",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"erasableSyntaxOnly": true,
|
"erasableSyntaxOnly": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noUncheckedSideEffectImports": true
|
"noUncheckedSideEffectImports": true,
|
||||||
|
"types": ["@probo/eslint-plugin-relay-types"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "eslint.config.mjs"]
|
"include": ["src", "eslint.config.mjs"],
|
||||||
}
|
}
|
||||||
|
|||||||
12
packages/eslint-relay-plugin-types/package.json
Normal file
12
packages/eslint-relay-plugin-types/package.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "@probo/eslint-plugin-relay-types",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"private": true,
|
||||||
|
"description": "Shared ESLint configuration for Probo monorepo",
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./index.d.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/eslint-plugin-relay",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"private": true,
|
|
||||||
"description": "Shared ESLint configuration for Probo monorepo",
|
|
||||||
"types": "./index.d.ts"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user