Skip to content

Commit 80b77ee

Browse files
committed
add eslint
1 parent bc4277b commit 80b77ee

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

apps/web/eslint.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import baseConfig, { restrictEnvAccess } from "@ctrlplane/eslint-config/base";
2+
import nextjsConfig from "@ctrlplane/eslint-config/nextjs";
3+
import reactConfig from "@ctrlplane/eslint-config/react";
4+
5+
/** @type {import('typescript-eslint').Config} */
6+
export default [
7+
{
8+
ignores: [".next/**", "**/*_pb.js"],
9+
},
10+
...baseConfig,
11+
...reactConfig,
12+
...nextjsConfig,
13+
...restrictEnvAccess,
14+
];

apps/web/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"zod": "catalog:"
5151
},
5252
"devDependencies": {
53+
"@ctrlplane/eslint-config": "workspace:*",
54+
"@ctrlplane/prettier-config": "workspace:*",
5355
"@react-router/dev": "^7.9.2",
5456
"@tailwindcss/vite": "^4.1.13",
5557
"@types/node": "^22",

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)