Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@biomejs/biome

Package Overview
Dependencies
Maintainers
4
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biomejs/biome - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2-nightly.1e3fc94

115

configuration_schema.json

@@ -291,3 +291,3 @@ {

"noMultipleSpacesInRegularExpressionLiterals": {
"description": "Disallow unclear usage of multiple space characters in regular expression literals",
"description": "Disallow unclear usage of consecutive space characters in regular expression literals",
"anyOf": [

@@ -572,3 +572,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"noUnreachableSuper": {
"description": "Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass",
"description": "Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass",
"anyOf": [

@@ -669,3 +669,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"ignore": {
"description": "A list of Unix shell style patterns. Biome tools will ignore files/folders that will match these patterns.",
"description": "A list of Unix shell style patterns. Biome will ignore files/folders that will match these patterns.",
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]

@@ -677,2 +677,6 @@ },

},
"include": {
"description": "A list of Unix shell style patterns. Biome will handle only those files/folders that will match these patterns.",
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
},
"maxSize": {

@@ -702,4 +706,8 @@ "description": "The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB",

},
"include": {
"description": "A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.",
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
},
"indentSize": {
"description": "The size of the indentation, 2 by default",
"description": "The size of the indentation, 2 by default (deprecated, use `indent-width`)",
"default": 2,

@@ -718,2 +726,9 @@ "type": ["integer", "null"],

},
"indentWidth": {
"description": "The size of the indentation, 2 by default",
"default": 2,
"type": ["integer", "null"],
"format": "uint8",
"minimum": 0.0
},
"lineWidth": {

@@ -819,2 +834,8 @@ "description": "What's the max width of a line. Defaults to 80.",

},
"indentWidth": {
"description": "The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.",
"type": ["integer", "null"],
"format": "uint8",
"minimum": 0.0
},
"jsxQuoteStyle": {

@@ -906,2 +927,8 @@ "description": "The type of quotes used in JSX. Defaults to double.",

},
"indentWidth": {
"description": "The size of the indentation applied to JSON (and its super languages) files. Default to 2.",
"type": ["integer", "null"],
"format": "uint8",
"minimum": 0.0
},
"lineWidth": {

@@ -921,2 +948,6 @@ "description": "What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.",

"type": ["boolean", "null"]
},
"allowTrailingCommas": {
"description": "Allow parsing trailing commas in `.json` files",
"type": ["boolean", "null"]
}

@@ -944,2 +975,6 @@ },

},
"include": {
"description": "A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.",
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
},
"rules": {

@@ -983,2 +1018,9 @@ "description": "List of rules",

},
"noApproximativeNumericConstant": {
"description": "Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noConfusingVoidType": {

@@ -998,4 +1040,11 @@ "description": "Disallow void type outside of generic or return types.",

},
"noEmptyCharacterClassInRegex": {
"description": "Disallow empty character classes in regular expression literals.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noExcessiveComplexity": {
"description": "Disallow functions that exceed a given complexity score.",
"description": "Disallow functions that exceed a given Cognitive Complexity score.",
"anyOf": [

@@ -1027,2 +1076,30 @@ { "$ref": "#/definitions/RuleConfiguration" },

},
"noInvalidNewBuiltin": {
"description": "Disallow new operators with global non-constructor functions.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noMisleadingInstantiator": {
"description": "Enforce proper usage of new and constructor.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noUnusedImports": {
"description": "Disallow unused imports.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noUselessElse": {
"description": "Disallow else block when the if block breaks early.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"noVoid": {

@@ -1046,2 +1123,9 @@ "description": "Disallow the use of void operators, which is not a familiar operator.",

},
"useAsConstAssertion": {
"description": "Enforce the use of as const over literal type and type annotation.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
},
"useCollapsedElseIf": {

@@ -1088,2 +1172,9 @@ "description": "Enforce using else if instead of nested if in else clauses.",

]
},
"useShorthandAssign": {
"description": "Require assignment operator shorthand where possible.",
"anyOf": [
{ "$ref": "#/definitions/RuleConfiguration" },
{ "type": "null" }
]
}

@@ -1103,2 +1194,6 @@ }

"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
},
"include": {
"description": "A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.",
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
}

@@ -1310,3 +1405,3 @@ },

"noNegationElse": {
"description": "Disallow negation in the condition of an if statement if it has an else clause",
"description": "Disallow negation in the condition of an if statement if it has an else clause.",
"anyOf": [

@@ -1371,3 +1466,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"useBlockStatements": {
"description": "Requires following curly brace conventions. JavaScript allows the omission of curly braces when a block contains only one statement. However, it is considered by many to be best practice to never omit curly braces around blocks, even when they are optional, because it can lead to bugs and reduces code clarity.",
"description": "Requires following curly brace conventions.",
"anyOf": [

@@ -1470,3 +1565,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"useWhile": {
"description": "Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed",
"description": "Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.",
"anyOf": [

@@ -1579,3 +1674,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"noDuplicateCase": {
"description": "Disallow duplicate case labels. If a switch statement has duplicate test expressions in case clauses, it is likely that a programmer copied a case clause but forgot to change the test expression.",
"description": "Disallow duplicate case labels.",
"anyOf": [

@@ -1601,3 +1696,3 @@ { "$ref": "#/definitions/RuleConfiguration" },

"noDuplicateObjectKeys": {
"description": "Prevents object literals having more than one property declaration for the same name. If an object property with the same name is defined multiple times (except when combining a getter with a setter), only the last definition makes it into the object and previous definitions are ignored, which is likely a mistake.",
"description": "Prevents object literals having more than one property declaration for the same name.",
"anyOf": [

@@ -1604,0 +1699,0 @@ { "$ref": "#/definitions/RuleConfiguration" },

2

package.json

@@ -1,1 +0,1 @@

{"name":"@biomejs/biome","version":"1.2.1","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.2.1","@biomejs/cli-win32-arm64":"1.2.1","@biomejs/cli-darwin-x64":"1.2.1","@biomejs/cli-darwin-arm64":"1.2.1","@biomejs/cli-linux-x64":"1.2.1","@biomejs/cli-linux-arm64":"1.2.1"}}
{"name":"@biomejs/biome","version":"1.2.2-nightly.1e3fc94","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.2.2-nightly.1e3fc94","@biomejs/cli-win32-arm64":"1.2.2-nightly.1e3fc94","@biomejs/cli-darwin-x64":"1.2.2-nightly.1e3fc94","@biomejs/cli-darwin-arm64":"1.2.2-nightly.1e3fc94","@biomejs/cli-linux-x64":"1.2.2-nightly.1e3fc94","@biomejs/cli-linux-arm64":"1.2.2-nightly.1e3fc94"}}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc