@biomejs/backend-jsonrpc 1.3.1 → 1.3.3

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 +7 -5
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/backend-jsonrpc","version":"1.3.1","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":"1.3.1","@biomejs/cli-win32-arm64":"1.3.1","@biomejs/cli-darwin-x64":"1.3.1","@biomejs/cli-darwin-arm64":"1.3.1","@biomejs/cli-linux-x64":"1.3.1","@biomejs/cli-linux-arm64":"1.3.1"}}
1
+ {"name":"@biomejs/backend-jsonrpc","version":"1.3.3","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":"1.3.3","@biomejs/cli-win32-arm64":"1.3.3","@biomejs/cli-darwin-x64":"1.3.3","@biomejs/cli-darwin-arm64":"1.3.3","@biomejs/cli-linux-x64":"1.3.3","@biomejs/cli-linux-arm64":"1.3.3"}}
package/src/workspace.ts CHANGED
@@ -185,9 +185,7 @@ export interface OrganizeImports {
185
185
  */
186
186
  include?: StringSet;
187
187
  }
188
- export interface Overrides {
189
- list: OverridePattern[];
190
- }
188
+ export type Overrides = OverridePattern[];
191
189
  /**
192
190
  * Set of properties to integrate Biome with a VCS software.
193
191
  */
@@ -766,6 +764,10 @@ export interface Nursery {
766
764
  * Disallow shorthand assign when variable appears on both sides.
767
765
  */
768
766
  noMisrefactoredShorthandAssign?: RuleConfiguration;
767
+ /**
768
+ * Disallow this and super in static contexts.
769
+ */
770
+ noThisInStatic?: RuleConfiguration;
769
771
  /**
770
772
  * Disallow unused imports.
771
773
  */
@@ -1204,8 +1206,7 @@ export type PossibleOptions =
1204
1206
  | ComplexityOptions
1205
1207
  | HooksOptions
1206
1208
  | NamingConventionOptions
1207
- | RestrictedGlobalsOptions
1208
- | null;
1209
+ | RestrictedGlobalsOptions;
1209
1210
  /**
1210
1211
  * Options for the rule `noExcessiveCognitiveComplexity`.
1211
1212
  */
@@ -1435,6 +1436,7 @@ export type Category =
1435
1436
  | "lint/nursery/noInvalidNewBuiltin"
1436
1437
  | "lint/nursery/noMisleadingInstantiator"
1437
1438
  | "lint/nursery/noMisrefactoredShorthandAssign"
1439
+ | "lint/nursery/noThisInStatic"
1438
1440
  | "lint/nursery/noUnusedImports"
1439
1441
  | "lint/nursery/noUselessElse"
1440
1442
  | "lint/nursery/noUselessLoneBlockStatements"