Skip to content

Commit

Permalink
Fix ESlint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayPoshak committed Oct 13, 2024
1 parent 98770e1 commit e622df0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 34 deletions.
9 changes: 9 additions & 0 deletions apps/console-electron/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"root": true,
"extends": ["@dicedb/eslint-config/next.js", "next/typescript"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true
},
"ignorePatterns": ["out"]
}
9 changes: 0 additions & 9 deletions apps/console-electron/.eslintrc.mjs

This file was deleted.

8 changes: 5 additions & 3 deletions apps/console-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,26 @@
"dev:next": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "eslint ."
},
"dependencies": {
"next": "14.2.15",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@dicedb/eslint-config": "workspace:*",
"@dicedb/typescript-config": "workspace:*",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/parser": "^7.1.0",
"concurrently": "^9.0.1",
"electron": "^32.2.0",
"eslint": "^8",
"eslint-config-next": "14.2.15",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5",
"@dicedb/typescript-config": "workspace:*"
"typescript": "^5"
}
}
10 changes: 9 additions & 1 deletion apps/console-electron/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"extends": "@dicedb/typescript-config/nextjs.json",
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"include": [
"next.config.mjs",
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx",
"**/*.mjs",
"**/*.js"
],
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
Expand Down
39 changes: 18 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e622df0

Please sign in to comment.