@readme/stylelint-config 7.0.7 → 7.0.9

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.
@@ -23,7 +23,7 @@ describe('stylelint-config', () => {
23
23
  });
24
24
 
25
25
  it('has no errors', () => {
26
- expect(data.errored).toBeFalsy();
26
+ expect(data.errored).toBe(false);
27
27
  });
28
28
 
29
29
  it('flags no warnings', () => {
@@ -46,7 +46,7 @@ describe('stylelint-config', () => {
46
46
  });
47
47
 
48
48
  it('has errors', () => {
49
- expect(data.errored).toBeTruthy();
49
+ expect(data.errored).toBe(true);
50
50
  });
51
51
 
52
52
  it('flags warnings', () => {
@@ -73,11 +73,11 @@ describe('stylelint-config', () => {
73
73
  });
74
74
 
75
75
  it('expects no more than 1 id selector', () => {
76
- expect(warnings.some(w => w.rule === 'selector-max-id')).toBeTruthy();
76
+ expect(warnings.some(w => w.rule === 'selector-max-id')).toBe(true);
77
77
  });
78
78
 
79
79
  it('expects id pattern to be either kebab-case or TitleCase', () => {
80
- expect(warnings.some(w => w.rule === 'selector-id-pattern')).toBeTruthy();
80
+ expect(warnings.some(w => w.rule === 'selector-id-pattern')).toBe(true);
81
81
  });
82
82
 
83
83
  it('auto-fixes "selector-not-notation" to "simple" pattern', () => {
@@ -95,6 +95,7 @@ $prettier: "should be single quotes";
95
95
  fix: true,
96
96
  });
97
97
  ({ warnings } = data.results[0]);
98
+
98
99
  expect(data.code).toMatchSnapshot();
99
100
  });
100
101
 
@@ -106,6 +107,7 @@ $prettier: "should be single quotes";
106
107
  config,
107
108
  });
108
109
  ({ warnings } = data.results[0]);
110
+
109
111
  expect(warnings).toHaveLength(2);
110
112
  expect(warnings[0].rule).toBe('@stylistic/string-quotes');
111
113
  expect(warnings[1].rule).toBe('prettier/prettier');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readme/stylelint-config",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "ReadMe coding standards for styles",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -33,9 +33,9 @@
33
33
  "postcss": "^8.4.12"
34
34
  },
35
35
  "devDependencies": {
36
- "@readme/eslint-config": "^14.2.0",
36
+ "@readme/eslint-config": "^14.4.0",
37
37
  "vitest": "^3.0.5"
38
38
  },
39
39
  "prettier": "@readme/eslint-config/prettier",
40
- "gitHead": "fe72f1979627a06929904ba1f24486439c4df143"
40
+ "gitHead": "f707fc23cacad312861b4e1b40a7c075eef2d5c2"
41
41
  }