stylelint-config-sweet 3.0.0 → 4.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-sweet",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Stylelint extendable config for the most sweet-ass CSS and Sass. 🤙🏼",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -24,16 +24,15 @@
24
24
  "@stylistic/stylelint-config": "^2.0.0",
25
25
  "stylelint-config-html": "^1.1.0",
26
26
  "stylelint-config-recess-order": "^5.1.1",
27
- "stylelint-config-standard-scss": "^13.1.0"
27
+ "stylelint-config-standard-scss": "^14.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "eslint": "^8.57.1",
31
- "eslint-config-sweet": "^21.0.0",
32
- "eslint-define-config": "^2.1.0",
30
+ "eslint": "^9.18.0",
31
+ "eslint-config-sweet": "^22.1.3",
33
32
  "robins-tsconfig": "^1.0.0",
34
- "stylelint": "^16.10.0",
35
- "typescript": "^5.6.3",
36
- "vitest": "^2.1.2"
33
+ "stylelint": "^16.12.0",
34
+ "typescript": "^5.7.3",
35
+ "vitest": "^2.1.8"
37
36
  },
38
37
  "peerDependencies": {
39
38
  "stylelint": "^16"
package/readme.md CHANGED
@@ -18,7 +18,8 @@ npm i stylelint-config-sweet -D
18
18
  As soon as you've installed the package, you can extend from it. To do that, find your [config file](https://stylelint.io/user-guide/configure/), and add the following line:
19
19
 
20
20
  ```js
21
- module.exports = {
21
+ /** @type {import("stylelint").Config} */
22
+ export default {
22
23
  extends: "stylelint-config-sweet"
23
24
  };
24
25
  ```
@@ -20,13 +20,13 @@ export default {
20
20
  }, {
21
21
  message: "Avoid using \"all\" in transition declarations. Be more specific."
22
22
  }],
23
- "selector-disallowed-list": [ "/:focus(?!-.*)/", {
23
+ "selector-disallowed-list": ["/:focus(?!-.*)/", {
24
24
  splitList: true,
25
25
  message: "Avoid the \":focus\" pseudo-class. Use \":focus-visible\" instead."
26
26
  }],
27
27
  "@isnotdefined/no-obsolete": true,
28
- "@stylistic/block-closing-brace-newline-after": [ "always", {
29
- ignoreAtRules: [ "if", "else" ]
28
+ "@stylistic/block-closing-brace-newline-after": ["always", {
29
+ ignoreAtRules: ["if", "else"]
30
30
  }],
31
31
  "@stylistic/indentation": null,
32
32
  "scss/at-mixin-argumentless-call-parentheses": "never",
@@ -34,8 +34,8 @@ export default {
34
34
  "scss/at-use-no-redundant-alias": true,
35
35
  "scss/block-no-redundant-nesting": true,
36
36
  "scss/dimension-no-non-numeric-values": true,
37
- "scss/dollar-variable-first-in-block": [ true, {
38
- ignore: [ "comments", "imports" ]
37
+ "scss/dollar-variable-first-in-block": [true, {
38
+ ignore: ["comments", "imports"]
39
39
  }],
40
40
  "scss/dollar-variable-no-namespaced-assignment": true,
41
41
  "scss/function-calculation-no-interpolation": true,