There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: bump up linter to v7 (major) (#5820)
LongYinan18e212b95cee
diff --git a/package.json b/package.jsonindex 2bbd175256..7677515a27 100644--- a/package.json+++ b/package.json@@ -69,8 +69,8 @@"@types/affine__env": "workspace:*","@types/eslint": "^8.44.7","@types/node": "^20.9.3",- "@typescript-eslint/eslint-plugin": "^6.13.1",- "@typescript-eslint/parser": "^6.13.1",+ "@typescript-eslint/eslint-plugin": "^7.0.0",+ "@typescript-eslint/parser": "^7.0.0","@vanilla-extract/vite-plugin": "^4.0.0","@vanilla-extract/webpack-plugin": "^2.3.1","@vitejs/plugin-react-swc": "^3.5.0",diff --git a/packages/backend/server/src/fundamentals/nestjs/optional-module.ts b/packages/backend/server/src/fundamentals/nestjs/optional-module.tsindex bbcec4094c..e7003485b7 100644--- a/packages/backend/server/src/fundamentals/nestjs/optional-module.ts+++ b/packages/backend/server/src/fundamentals/nestjs/optional-module.ts@@ -52,6 +52,7 @@ export function OptionalModule(metadata: OptionalModuleMetadata) {metadata.providers = (metadata.providers ?? []).concat(metadata.overrides);+ // eslint-disable-next-line @typescript-eslint/no-floating-promisesmetadata.exports = (metadata.exports ?? []).concat(metadata.overrides);}diff --git a/yarn.lock b/yarn.lockindex a8d434fa88..c74aad1ed1 100644--- a/yarn.lock+++ b/yarn.lock@@ -553,8 +553,8 @@ __metadata:"@types/affine__env": "workspace:*""@types/eslint": "npm:^8.44.7""@types/node": "npm:^20.9.3"- "@typescript-eslint/eslint-plugin": "npm:^6.13.1"- "@typescript-eslint/parser": "npm:^6.13.1"+ "@typescript-eslint/eslint-plugin": "npm:^7.0.0"+ "@typescript-eslint/parser": "npm:^7.0.0""@vanilla-extract/vite-plugin": "npm:^4.0.0""@vanilla-extract/webpack-plugin": "npm:^2.3.1""@vitejs/plugin-react-swc": "npm:^3.5.0"@@ -14306,15 +14306,15 @@ __metadata:languageName: nodelinkType: hard-"@typescript-eslint/eslint-plugin@npm:^6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/eslint-plugin@npm:6.13.1"+"@typescript-eslint/eslint-plugin@npm:^7.0.0":+ version: 7.0.2+ resolution: "@typescript-eslint/eslint-plugin@npm:7.0.2"dependencies:"@eslint-community/regexpp": "npm:^4.5.1"- "@typescript-eslint/scope-manager": "npm:6.13.1"- "@typescript-eslint/type-utils": "npm:6.13.1"- "@typescript-eslint/utils": "npm:6.13.1"- "@typescript-eslint/visitor-keys": "npm:6.13.1"+ "@typescript-eslint/scope-manager": "npm:7.0.2"+ "@typescript-eslint/type-utils": "npm:7.0.2"+ "@typescript-eslint/utils": "npm:7.0.2"+ "@typescript-eslint/visitor-keys": "npm:7.0.2"debug: "npm:^4.3.4"graphemer: "npm:^1.4.0"ignore: "npm:^5.2.4"@@ -14322,109 +14322,110 @@ __metadata:semver: "npm:^7.5.4"ts-api-utils: "npm:^1.0.1"peerDependencies:- "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha- eslint: ^7.0.0 || ^8.0.0+ "@typescript-eslint/parser": ^7.0.0+ eslint: ^8.56.0peerDependenciesMeta:typescript:optional: true- checksum: 10/cae42c77404d8e6c149d68aca75bb3ce83cff5de8713d82e87e93bafae2839f29d261bc75b68f315b6b23858a85ea2f22ed8468cf5c7331e8330f7cee2129522+ checksum: 10/430b2f7ca36ee73dc75c1d677088709f3c9d5bbb4fffa3cfbe1b7d63979ee397f7a4a2a1386e05a04991500fa0ab0dd5272e8603a2b20f42e4bf590603500858languageName: nodelinkType: hard-"@typescript-eslint/parser@npm:^6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/parser@npm:6.13.1"+"@typescript-eslint/parser@npm:^7.0.0":+ version: 7.0.2+ resolution: "@typescript-eslint/parser@npm:7.0.2"dependencies:- "@typescript-eslint/scope-manager": "npm:6.13.1"- "@typescript-eslint/types": "npm:6.13.1"- "@typescript-eslint/typescript-estree": "npm:6.13.1"- "@typescript-eslint/visitor-keys": "npm:6.13.1"+ "@typescript-eslint/scope-manager": "npm:7.0.2"+ "@typescript-eslint/types": "npm:7.0.2"+ "@typescript-eslint/typescript-estree": "npm:7.0.2"+ "@typescript-eslint/visitor-keys": "npm:7.0.2"debug: "npm:^4.3.4"peerDependencies:- eslint: ^7.0.0 || ^8.0.0+ eslint: ^8.56.0peerDependenciesMeta:typescript:optional: true- checksum: 10/cdc328d157a8b8a6babad88360451c177ea41666e2150f3822a474ed287a12336517dccf9f475f75a007d4aa622cb74f1442f17d17b87e19cc2c839784742351+ checksum: 10/18d6e1bda64013f7d66164164c57a10390f7979db55b265062ae9337e11e0921bffca10870e252cd0bd198f79ffa2e87a652e57110e5b1b4cc738453154c205clanguageName: nodelinkType: hard-"@typescript-eslint/scope-manager@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/scope-manager@npm:6.13.1"+"@typescript-eslint/scope-manager@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/scope-manager@npm:7.0.2"dependencies:- "@typescript-eslint/types": "npm:6.13.1"- "@typescript-eslint/visitor-keys": "npm:6.13.1"- checksum: 10/f728dbd995c58fadfc390411fe31b1b8a729b1c85ecf0ae2fe70f97f613298feab78c05bc180e03612f595b24cf0090476a0b8234c617b3edf1dae568342a7cf+ "@typescript-eslint/types": "npm:7.0.2"+ "@typescript-eslint/visitor-keys": "npm:7.0.2"+ checksum: 10/773ea6e61f741777e69a469641f3db0d3c2301c0102667825fb235ed5a65c95f6d6b31b19e734b9a215acc0c7c576c65497635b8d5928eeddb58653ceb13d2d5languageName: nodelinkType: hard-"@typescript-eslint/type-utils@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/type-utils@npm:6.13.1"+"@typescript-eslint/type-utils@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/type-utils@npm:7.0.2"dependencies:- "@typescript-eslint/typescript-estree": "npm:6.13.1"- "@typescript-eslint/utils": "npm:6.13.1"+ "@typescript-eslint/typescript-estree": "npm:7.0.2"+ "@typescript-eslint/utils": "npm:7.0.2"debug: "npm:^4.3.4"ts-api-utils: "npm:^1.0.1"peerDependencies:- eslint: ^7.0.0 || ^8.0.0+ eslint: ^8.56.0peerDependenciesMeta:typescript:optional: true- checksum: 10/484e5f74fc604b24687fe6426e650f40f679d62216ee5e45bf6d1f91edd60cd8deef747ca43f7dc3c22b2b76f030477603c82559e44c3f2fb5c8877a0c65aefa+ checksum: 10/63bf19c9f5bbcb0f3e127f509d85dc49be4e5e51781d78f58c96786089e7c909b25d35d0248a6a758e2f7d5b5223d2262c2d597ab71f226af6beb499ae950645languageName: nodelinkType: hard-"@typescript-eslint/types@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/types@npm:6.13.1"- checksum: 10/350c7f847052f7c24629d41645c02be152c512f3e5c21a79f53c04821b1fff3019416b18d9b72e5ca5c3c5f62f210301f2bb69080b84e67fe83af27751a7af18+"@typescript-eslint/types@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/types@npm:7.0.2"+ checksum: 10/2cba8a0355cc7357db142fa597d02cf39e1d1cb0ec87c80e91daaa2b87f2a794d2649def9d7b2aa435691c3810d2cbd4cdc21668b19b991863f0d54d4a22da82languageName: nodelinkType: hard-"@typescript-eslint/typescript-estree@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/typescript-estree@npm:6.13.1"+"@typescript-eslint/typescript-estree@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/typescript-estree@npm:7.0.2"dependencies:- "@typescript-eslint/types": "npm:6.13.1"- "@typescript-eslint/visitor-keys": "npm:6.13.1"+ "@typescript-eslint/types": "npm:7.0.2"+ "@typescript-eslint/visitor-keys": "npm:7.0.2"debug: "npm:^4.3.4"globby: "npm:^11.1.0"is-glob: "npm:^4.0.3"+ minimatch: "npm:9.0.3"semver: "npm:^7.5.4"ts-api-utils: "npm:^1.0.1"peerDependenciesMeta:typescript:optional: true- checksum: 10/1df965c5b202664da1a4a1ffc51bda3d85e581d8c206cd4be63653e2558775104258f6071e1f35a269619ebfb81bd18ee74e3fcb724fed15d3a2577d0ee5a34f+ checksum: 10/307080e29c22fc69f0ce7ab7101e1629e05f45a9e541c250e03d06b61336ab0ccb5f0a7354ee3da4e38d5cade4dd2fb7bb396cd7cbe74c2c4b3e29706a70abcclanguageName: nodelinkType: hard-"@typescript-eslint/utils@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/utils@npm:6.13.1"+"@typescript-eslint/utils@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/utils@npm:7.0.2"dependencies:"@eslint-community/eslint-utils": "npm:^4.4.0""@types/json-schema": "npm:^7.0.12""@types/semver": "npm:^7.5.0"- "@typescript-eslint/scope-manager": "npm:6.13.1"- "@typescript-eslint/types": "npm:6.13.1"- "@typescript-eslint/typescript-estree": "npm:6.13.1"+ "@typescript-eslint/scope-manager": "npm:7.0.2"+ "@typescript-eslint/types": "npm:7.0.2"+ "@typescript-eslint/typescript-estree": "npm:7.0.2"semver: "npm:^7.5.4"peerDependencies:- eslint: ^7.0.0 || ^8.0.0- checksum: 10/6fab1122071c7a2da959dcf16cdd723a65bd8ba8e55af9cea11bb1707c4d047e94c3daaed2ab504cdbd2ca0d052f2a33de5290b28de0277ba00210569673ac9b+ eslint: ^8.56.0+ checksum: 10/e68bac777419cd529371f7f29f534efaeca130c90ed9723bfc7aac451d61ca3fc4ebd310e2c015e29e8dc7be4734ae46258ca8755897d7f5e3bb502660d5372flanguageName: nodelinkType: hard-"@typescript-eslint/visitor-keys@npm:6.13.1":- version: 6.13.1- resolution: "@typescript-eslint/visitor-keys@npm:6.13.1"+"@typescript-eslint/visitor-keys@npm:7.0.2":+ version: 7.0.2+ resolution: "@typescript-eslint/visitor-keys@npm:7.0.2"dependencies:- "@typescript-eslint/types": "npm:6.13.1"+ "@typescript-eslint/types": "npm:7.0.2"eslint-visitor-keys: "npm:^3.4.1"- checksum: 10/27ccc4bfe940e50b0977838356b7feda95b68754fa544a988588a159a2619eb04d07c67e55d16bfea1b0dc6184a7fb5daff1366b266c9f5fd19d72831dea6163+ checksum: 10/da6c1b0729af99216cde3a65d4e91584a81fc6c9dff7ba291089f01bf7262de375f58c4c4246e5fbc29f51258db7725d9c830f82ccbd1cda812fd13c51480cdalanguageName: nodelinkType: hard