@biomejs/biome 1.7.0 → 1.7.1

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/README.md CHANGED
@@ -131,6 +131,9 @@ We use [Polar.sh](https://polar.sh/biomejs) to up-vote and promote specific feat
131
131
  <td align="center" valign="middle">
132
132
  <a href="https://nanabit.dev/" target="_blank"><img src="https://images.opencollective.com/nanabit/d15fd98/logo/256.png?height=80" width="80"></a>
133
133
  </td>
134
+ <td align="center" valign="middle">
135
+ <a href="https://vital.io/" target="_blank"><img src="https://avatars.githubusercontent.com/u/25357309?s=200" width="80"></a>
136
+ </td>
134
137
  </tr>
135
138
  </tbody>
136
139
  </table>
@@ -1413,6 +1413,18 @@
1413
1413
  },
1414
1414
  "additionalProperties": false
1415
1415
  },
1416
+ "NoCssEmptyBlockConfiguration": {
1417
+ "anyOf": [
1418
+ { "$ref": "#/definitions/RulePlainConfiguration" },
1419
+ { "$ref": "#/definitions/RuleWithNoCssEmptyBlockOptions" }
1420
+ ]
1421
+ },
1422
+ "NoCssEmptyBlockOptions": {
1423
+ "type": "object",
1424
+ "required": ["allowComments"],
1425
+ "properties": { "allowComments": { "type": "boolean" } },
1426
+ "additionalProperties": false
1427
+ },
1416
1428
  "Nursery": {
1417
1429
  "description": "A list of rules that belong to this group",
1418
1430
  "type": "object",
@@ -1442,6 +1454,13 @@
1442
1454
  { "type": "null" }
1443
1455
  ]
1444
1456
  },
1457
+ "noCssEmptyBlock": {
1458
+ "description": "Disallow CSS empty blocks.",
1459
+ "anyOf": [
1460
+ { "$ref": "#/definitions/NoCssEmptyBlockConfiguration" },
1461
+ { "type": "null" }
1462
+ ]
1463
+ },
1445
1464
  "noDoneCallback": {
1446
1465
  "description": "Disallow using a callback in asynchronous tests and hooks.",
1447
1466
  "anyOf": [
@@ -1470,6 +1489,13 @@
1470
1489
  { "type": "null" }
1471
1490
  ]
1472
1491
  },
1492
+ "noDuplicateSelectorsKeyframeBlock": {
1493
+ "description": "Disallow duplicate selectors within keyframe blocks.",
1494
+ "anyOf": [
1495
+ { "$ref": "#/definitions/RuleConfiguration" },
1496
+ { "type": "null" }
1497
+ ]
1498
+ },
1473
1499
  "noEvolvingAny": {
1474
1500
  "description": "Disallow variables from evolving into any type through reassignments.",
1475
1501
  "anyOf": [
@@ -1484,6 +1510,13 @@
1484
1510
  { "type": "null" }
1485
1511
  ]
1486
1512
  },
1513
+ "noImportantInKeyframe": {
1514
+ "description": "Disallow invalid !important within keyframe declarations",
1515
+ "anyOf": [
1516
+ { "$ref": "#/definitions/RuleConfiguration" },
1517
+ { "type": "null" }
1518
+ ]
1519
+ },
1487
1520
  "noMisplacedAssertion": {
1488
1521
  "description": "Checks that the assertion function, for example expect, is placed inside an it() function call.",
1489
1522
  "anyOf": [
@@ -1498,6 +1531,13 @@
1498
1531
  { "type": "null" }
1499
1532
  ]
1500
1533
  },
1534
+ "noReactSpecificProps": {
1535
+ "description": "Prevents React-specific JSX properties from being used.",
1536
+ "anyOf": [
1537
+ { "$ref": "#/definitions/RuleConfiguration" },
1538
+ { "type": "null" }
1539
+ ]
1540
+ },
1501
1541
  "noRestrictedImports": {
1502
1542
  "description": "Disallow specified modules when loaded by import or require.",
1503
1543
  "anyOf": [
@@ -1833,6 +1873,15 @@
1833
1873
  },
1834
1874
  "additionalProperties": false
1835
1875
  },
1876
+ "RuleWithNoCssEmptyBlockOptions": {
1877
+ "type": "object",
1878
+ "required": ["level", "options"],
1879
+ "properties": {
1880
+ "level": { "$ref": "#/definitions/RulePlainConfiguration" },
1881
+ "options": { "$ref": "#/definitions/NoCssEmptyBlockOptions" }
1882
+ },
1883
+ "additionalProperties": false
1884
+ },
1836
1885
  "RuleWithNoOptions": {
1837
1886
  "type": "object",
1838
1887
  "required": ["level"],
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/biome","version":"1.7.0","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 OR Apache-2.0","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","LICENSE-APACHE","LICENSE-MIT","ROME-LICENSE-MIT"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.21.3"},"funding":{"type":"opencollective","url":"https://opencollective.com/biome"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.7.0","@biomejs/cli-win32-arm64":"1.7.0","@biomejs/cli-darwin-x64":"1.7.0","@biomejs/cli-darwin-arm64":"1.7.0","@biomejs/cli-linux-x64":"1.7.0","@biomejs/cli-linux-arm64":"1.7.0","@biomejs/cli-linux-x64-musl":"1.7.0","@biomejs/cli-linux-arm64-musl":"1.7.0"}}
1
+ {"name":"@biomejs/biome","version":"1.7.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 OR Apache-2.0","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","LICENSE-APACHE","LICENSE-MIT","ROME-LICENSE-MIT"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.21.3"},"funding":{"type":"opencollective","url":"https://opencollective.com/biome"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.7.1","@biomejs/cli-win32-arm64":"1.7.1","@biomejs/cli-darwin-x64":"1.7.1","@biomejs/cli-darwin-arm64":"1.7.1","@biomejs/cli-linux-x64":"1.7.1","@biomejs/cli-linux-arm64":"1.7.1","@biomejs/cli-linux-x64-musl":"1.7.1","@biomejs/cli-linux-arm64-musl":"1.7.1"}}