@readme/stylelint-config 8.0.1-alpha.0 → 8.0.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/biome.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": ["@readme/standards/biome"],
3
+ "linter": {
4
+ "enabled": true,
5
+ "rules": {
6
+ "recommended": true
7
+ }
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@readme/stylelint-config",
3
- "version": "8.0.1-alpha.0",
3
+ "version": "8.0.1",
4
4
  "description": "ReadMe coding standards for styles",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
- "lint": "eslint .",
7
+ "lint": "biome check .",
8
+ "lint:fix": "biome check --write .",
8
9
  "test": "vitest run"
9
10
  },
10
11
  "engines": {
@@ -21,21 +22,21 @@
21
22
  },
22
23
  "homepage": "https://github.com/readmeio/standards",
23
24
  "dependencies": {
24
- "stylelint": "^16.19.1",
25
- "stylelint-config-css-modules": "^4.3.0",
26
- "stylelint-config-sass-guidelines": "^12.0.0",
27
- "stylelint-config-standard": "^38.0.0",
28
- "stylelint-config-standard-scss": "^15.0.1",
25
+ "stylelint": "^16.25.0",
26
+ "stylelint-config-css-modules": "^4.5.1",
27
+ "stylelint-config-sass-guidelines": "^12.1.0",
28
+ "stylelint-config-standard": "^39.0.1",
29
+ "stylelint-config-standard-scss": "^16.0.0",
29
30
  "stylelint-order": "^7.0.0",
30
- "stylelint-prettier": "^5.0.2"
31
+ "stylelint-prettier": "^5.0.3"
31
32
  },
32
33
  "peerDependencies": {
33
34
  "postcss": "^8.4.12"
34
35
  },
35
36
  "devDependencies": {
36
- "@readme/eslint-config": "^15.0.1-alpha.0",
37
- "vitest": "^3.0.5"
37
+ "@biomejs/biome": "^2.3.2",
38
+ "@readme/standards": "^2.4.0",
39
+ "vitest": "^4.0.6"
38
40
  },
39
- "prettier": "@readme/eslint-config/prettier",
40
- "gitHead": "7ba0f445352eed25d87b07f1530c93867207dabc"
41
+ "prettier": "@readme/standards/prettier"
41
42
  }
@@ -1,8 +1,8 @@
1
- import fs from 'fs';
2
- import path from 'path';
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
3
 
4
4
  import stylelint from 'stylelint';
5
- import { describe, beforeEach, it, expect } from 'vitest';
5
+ import { beforeEach, describe, expect, it } from 'vitest';
6
6
 
7
7
  import config from '..';
8
8
 
package/test/valid.scss CHANGED
@@ -52,7 +52,9 @@ $media-query-width: 300px;
52
52
  /* Single-line comment */
53
53
 
54
54
  @media (min-width: $media-query-width) {
55
- border: 1px solid black;
55
+ .selector {
56
+ border: 1px solid black;
57
+ }
56
58
  }
57
59
 
58
60
  @media (width >= 60em) {
@@ -62,7 +64,7 @@ $media-query-width: 300px;
62
64
  }
63
65
  }
64
66
 
65
- @media (orientation: portrait), projection and (color) {
67
+ @media (orientation: portrait) and (color) {
66
68
  .selector-i + .selector-ii {
67
69
  background: rgb(105, 77, 63);
68
70
  font-family: Helvetica, 'Arial Black', sans-serif;
package/.eslintrc.cjs DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- extends: ['@readme/eslint-config', '@readme/eslint-config/testing/vitest'],
3
- };