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:
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
2
package-lock.json
generated
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user