From 3b437419ee3257046232a775284c1e96376d360a Mon Sep 17 00:00:00 2001 From: Valter Balegas Date: Wed, 14 Aug 2024 17:14:51 +0100 Subject: [PATCH] Added lint rules --- examples/yjs-provider/.eslintrc.cjs | 1 + examples/yjs-provider/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/yjs-provider/.eslintrc.cjs b/examples/yjs-provider/.eslintrc.cjs index c5c99d0cd9..915fca4da9 100644 --- a/examples/yjs-provider/.eslintrc.cjs +++ b/examples/yjs-provider/.eslintrc.cjs @@ -8,6 +8,7 @@ module.exports = { `eslint:recommended`, `plugin:@typescript-eslint/recommended`, `plugin:prettier/recommended`, + 'plugin:@next/next/recommended', ], parserOptions: { ecmaVersion: 2022, diff --git a/examples/yjs-provider/package.json b/examples/yjs-provider/package.json index 8528c29660..517a99000a 100644 --- a/examples/yjs-provider/package.json +++ b/examples/yjs-provider/package.json @@ -35,6 +35,7 @@ }, "devDependencies": { "@databases/pg-migrations": "^5.0.3", + "@next/eslint-plugin-next": "^14.2.5", "@types/pg": "^8.11.6", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0",