@biomejs/backend-jsonrpc 1.2.2-nightly.1e3fc94 → 1.2.2-nightly.ee2e2ab
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.
- package/package.json +1 -1
- package/src/workspace.ts +6 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/backend-jsonrpc","version":"1.2.2-nightly.
|
|
1
|
+
{"name":"@biomejs/backend-jsonrpc","version":"1.2.2-nightly.ee2e2ab","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.2.2-nightly.ee2e2ab","@biomejs/cli-win32-arm64":"1.2.2-nightly.ee2e2ab","@biomejs/cli-darwin-x64":"1.2.2-nightly.ee2e2ab","@biomejs/cli-darwin-arm64":"1.2.2-nightly.ee2e2ab","@biomejs/cli-linux-x64":"1.2.2-nightly.ee2e2ab","@biomejs/cli-linux-arm64":"1.2.2-nightly.ee2e2ab"}}
|
package/src/workspace.ts
CHANGED
|
@@ -725,6 +725,10 @@ export interface Nursery {
|
|
|
725
725
|
* Enforce proper usage of new and constructor.
|
|
726
726
|
*/
|
|
727
727
|
noMisleadingInstantiator?: RuleConfiguration;
|
|
728
|
+
/**
|
|
729
|
+
* Disallow shorthand assign when variable appears on both sides.
|
|
730
|
+
*/
|
|
731
|
+
noMisrefactoredShorthandAssign?: RuleConfiguration;
|
|
728
732
|
/**
|
|
729
733
|
* Disallow unused imports.
|
|
730
734
|
*/
|
|
@@ -754,7 +758,7 @@ export interface Nursery {
|
|
|
754
758
|
*/
|
|
755
759
|
useCollapsedElseIf?: RuleConfiguration;
|
|
756
760
|
/**
|
|
757
|
-
* Enforce all dependencies are correctly specified.
|
|
761
|
+
* Enforce all dependencies are correctly specified in a React hook.
|
|
758
762
|
*/
|
|
759
763
|
useExhaustiveDependencies?: RuleConfiguration;
|
|
760
764
|
/**
|
|
@@ -1338,6 +1342,7 @@ export type Category =
|
|
|
1338
1342
|
| "lint/nursery/noGlobalIsNan"
|
|
1339
1343
|
| "lint/nursery/noInvalidNewBuiltin"
|
|
1340
1344
|
| "lint/nursery/noMisleadingInstantiator"
|
|
1345
|
+
| "lint/nursery/noMisrefactoredShorthandAssign"
|
|
1341
1346
|
| "lint/nursery/noUnusedImports"
|
|
1342
1347
|
| "lint/nursery/noUselessElse"
|
|
1343
1348
|
| "lint/nursery/noVoid"
|