Update apps/console eslint dependency + compose eslint config with @probo/eslint-config

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-21 18:39:52 +04:00
parent 21342fba05
commit b4a73f2eea
4 changed files with 20 additions and 8 deletions

View File

@@ -1,6 +1,17 @@
import { browser } from "@probo/eslint-config";
import { defineConfig } from "eslint/config";
import { configs } from "@probo/eslint-config";
export default [
{ ignores: ["dist", "eslint.config.mjs", "*.config.{js,mjs,ts}"] },
...browser(["./tsconfig.app.json", "./tsconfig.node.json"], import.meta.dirname),
];
export default defineConfig([
...configs.base,
...configs.ts,
...configs.react,
configs.languageOptions.browser,
...configs.stylistic,
{
languageOptions: {
parserOptions: {
tsConfigRootDir: import.meta.dirname,
},
},
},
]);

View File

@@ -49,7 +49,7 @@
"@types/relay-runtime": "^19.0.1",
"@vitejs/plugin-react": "^4.4.1",
"babel-plugin-relay": "^19.0.0",
"eslint": "^9.25.0",
"eslint": "^9.39.2",
"graphql": "^16.11.0",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",

View File

@@ -1,6 +1,7 @@
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"allowJs": true,
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
@@ -21,5 +22,5 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
"include": ["vite.config.ts", "eslint.config.mjs"]
}

2
package-lock.json generated
View File

@@ -59,7 +59,7 @@
"@types/relay-runtime": "^19.0.1",
"@vitejs/plugin-react": "^4.4.1",
"babel-plugin-relay": "^19.0.0",
"eslint": "^9.25.0",
"eslint": "^9.39.2",
"graphql": "^16.11.0",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",