@biomejs/backend-jsonrpc 0.1.2 → 0.2.0-nightly.0b5a3fd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/workspace.ts +5 -0
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/backend-jsonrpc","version":"0.1.2","main":"dist/index.js","scripts":{"test":"vitest","test:ci":"pnpm build && vitest --run","tsc":"tsc --noEmit","build":"tsc"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"npm/backend-jsonrpc"},"author":"Rome Tools Developers and Contributors","bugs":"https://github.com/biomejs/biome/issues","description":"Bindings to the JSON-RPC Workspace API of the Rome daemon","keywords":["JavaScript","TypeScript","format","lint","toolchain"],"engines":{"node":">=14.*"},"license":"MIT","devDependencies":{"@types/node":"^18.7.2","typescript":"^4.8.2","vite":"^3.0.8","vitest":"^0.22.0"},"optionalDependencies":{"@biomejs/cli-win32-x64":"0.1.2","@biomejs/cli-win32-arm64":"0.1.2","@biomejs/cli-darwin-x64":"0.1.2","@biomejs/cli-darwin-arm64":"0.1.2","@biomejs/cli-linux-x64":"0.1.2","@biomejs/cli-linux-arm64":"0.1.2"}}
1
+ {"name":"@biomejs/backend-jsonrpc","version":"0.2.0-nightly.0b5a3fd","main":"dist/index.js","scripts":{"test":"vitest","test:ci":"pnpm build && vitest --run","tsc":"tsc --noEmit","build":"tsc"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"npm/backend-jsonrpc"},"author":"Biome Developers and Contributors","bugs":"https://github.com/biomejs/biome/issues","description":"Bindings to the JSON-RPC Workspace API of the Biome daemon","keywords":["JavaScript","TypeScript","format","lint","toolchain"],"engines":{"node":">=14.*"},"license":"MIT","devDependencies":{"@types/node":"^18.7.2","typescript":"^4.8.2","vite":"^3.0.8","vitest":"^0.22.0"},"optionalDependencies":{"@biomejs/cli-win32-x64":"0.2.0-nightly.0b5a3fd","@biomejs/cli-win32-arm64":"0.2.0-nightly.0b5a3fd","@biomejs/cli-darwin-x64":"0.2.0-nightly.0b5a3fd","@biomejs/cli-darwin-arm64":"0.2.0-nightly.0b5a3fd","@biomejs/cli-linux-x64":"0.2.0-nightly.0b5a3fd","@biomejs/cli-linux-arm64":"0.2.0-nightly.0b5a3fd"}}
package/src/workspace.ts CHANGED
@@ -659,6 +659,10 @@ export interface Nursery {
659
659
  * Enforce all dependencies are correctly specified.
660
660
  */
661
661
  useExhaustiveDependencies?: RuleConfiguration;
662
+ /**
663
+ * Enforces the presence of non-empty return statements in getters.
664
+ */
665
+ useGetterReturn?: RuleConfiguration;
662
666
  /**
663
667
  * Enforce the use of import type when an import only has specifiers with type qualifier.
664
668
  */
@@ -1224,6 +1228,7 @@ export type Category =
1224
1228
  | "lint/nursery/useAriaPropTypes"
1225
1229
  | "lint/nursery/useArrowFunction"
1226
1230
  | "lint/nursery/useExhaustiveDependencies"
1231
+ | "lint/nursery/useGetterReturn"
1227
1232
  | "lint/nursery/useGroupedTypeImport"
1228
1233
  | "lint/nursery/useHookAtTopLevel"
1229
1234
  | "lint/nursery/useImportRestrictions"