@readme/stylelint-config 7.0.3 → 7.0.5

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.
@@ -100,12 +100,15 @@ $prettier: "should be single quotes";
100
100
 
101
101
  it('flags double quotes as an error', async () => {
102
102
  data = await stylelint.lint({
103
- code: '$prettier: "should be single quotes"',
103
+ code: `
104
+ $prettier: "should be single quotes";
105
+ `,
104
106
  config,
105
107
  });
106
108
  ({ warnings } = data.results[0]);
107
- expect(warnings).toHaveLength(1);
108
- expect(warnings[0].rule).toBe('prettier/prettier');
109
+ expect(warnings).toHaveLength(2);
110
+ expect(warnings[0].rule).toBe('@stylistic/string-quotes');
111
+ expect(warnings[1].rule).toBe('prettier/prettier');
109
112
  });
110
113
  });
111
114
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readme/stylelint-config",
3
- "version": "7.0.3",
3
+ "version": "7.0.5",
4
4
  "description": "ReadMe coding standards for styles",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "stylelint": "^16.7.0",
25
25
  "stylelint-config-css-modules": "^4.3.0",
26
- "stylelint-config-sass-guidelines": "^11.1.0",
26
+ "stylelint-config-sass-guidelines": "^12.0.0",
27
27
  "stylelint-config-standard": "^36.0.0",
28
28
  "stylelint-config-standard-scss": "^13.0.0",
29
29
  "stylelint-order": "^6.0.3",
@@ -33,9 +33,9 @@
33
33
  "postcss": "^8.4.12"
34
34
  },
35
35
  "devDependencies": {
36
- "@readme/eslint-config": "^14.0.3",
36
+ "@readme/eslint-config": "^14.1.1",
37
37
  "vitest": "^2.0.3"
38
38
  },
39
39
  "prettier": "@readme/eslint-config/prettier",
40
- "gitHead": "819e44d83ac6078a3f21330754058e9ff1d5670b"
40
+ "gitHead": "4efbc21d43ce9b11122fac8ad69bd909afc843fa"
41
41
  }