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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c2bd9f2574..be4240cd9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -582,6 +582,9 @@ importers: '@databases/pg-migrations': specifier: ^5.0.3 version: 5.0.3(typescript@5.5.3) + '@next/eslint-plugin-next': + specifier: ^14.2.5 + version: 14.2.5 '@types/pg': specifier: ^8.11.6 version: 8.11.6 @@ -1924,6 +1927,9 @@ packages: '@next/env@14.2.5': resolution: {integrity: sha512-/zZGkrTOsraVfYjGP8uM0p6r0BDT6xWpkjdVbcz66PJVSpwXX3yNiRycxAuDfBKGWBrZBXRuK/YVlkNgxHGwmA==} + '@next/eslint-plugin-next@14.2.5': + resolution: {integrity: sha512-LY3btOpPh+OTIpviNojDpUdIbHW9j0JBYBjsIp8IxtDFfYFyORvw3yNq6N231FVqQA7n7lwaf7xHbVJlA1ED7g==} + '@next/swc-darwin-arm64@14.2.5': resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==} engines: {node: '>= 10'} @@ -4883,6 +4889,11 @@ packages: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} + glob@10.3.10: + resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true @@ -5281,6 +5292,10 @@ packages: isomorphic.js@0.2.5: resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==} + jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} @@ -9272,6 +9287,10 @@ snapshots: '@next/env@14.2.5': {} + '@next/eslint-plugin-next@14.2.5': + dependencies: + glob: 10.3.10 + '@next/swc-darwin-arm64@14.2.5': optional: true @@ -12731,6 +12750,14 @@ snapshots: dependencies: is-glob: 4.0.3 + glob@10.3.10: + dependencies: + foreground-child: 3.2.1 + jackspeak: 2.3.6 + minimatch: 9.0.5 + minipass: 7.1.2 + path-scurry: 1.11.1 + glob@10.4.5: dependencies: foreground-child: 3.2.1 @@ -13124,6 +13151,12 @@ snapshots: isomorphic.js@0.2.5: {} + jackspeak@2.3.6: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + jackspeak@3.4.3: dependencies: '@isaacs/cliui': 8.0.2