@aarongoldenthal/stylelint-config-standard 16.0.0 → 17.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/index.js +7 -4
  3. package/package.json +15 -13
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 - 2023 Aaron Goldenthal
3
+ Copyright (c) 2021 - 2024 Aaron Goldenthal
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable unicorn/no-null -- null required to disable rules */
2
- 'use strict';
3
-
4
- module.exports = {
2
+ export default {
5
3
  overrides: [
6
4
  {
7
5
  customSyntax: 'postcss-html',
@@ -137,6 +135,7 @@ module.exports = {
137
135
  }
138
136
  ],
139
137
  'length-zero-no-unit': true,
138
+ 'lightness-notation': 'percentage',
140
139
  'max-nesting-depth': null,
141
140
  'media-feature-name-allowed-list': null,
142
141
  'media-feature-name-disallowed-list': null,
@@ -250,7 +249,11 @@ module.exports = {
250
249
  'liberty/use-logical-spec': 'always',
251
250
  'scale-unlimited/declaration-strict-value': [
252
251
  '/color$/',
253
- { expandShorthand: true, recurseLonghand: true }
252
+ {
253
+ expandShorthand: true,
254
+ ignoreValues: ['inherit', 'transparent', 'currentColor'],
255
+ recurseLonghand: true
256
+ }
254
257
  ]
255
258
  }
256
259
  };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "16.0.0",
3
+ "version": "17.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "exports": "./index.js",
6
+ "type": "module",
6
7
  "scripts": {
7
8
  "hooks:pre-commit": "npm run lint && npm run prettier:check",
8
9
  "hooks:pre-push": "npm audit --audit-level=high && npm test",
@@ -11,7 +12,8 @@
11
12
  "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
12
13
  "prettier:check": "prettier --check .",
13
14
  "prettier:fix": "prettier --write .",
14
- "test": "jest --ci --config jest.config.json"
15
+ "test": "vitest run --coverage",
16
+ "test:no-coverage": "vitest run"
15
17
  },
16
18
  "repository": {
17
19
  "type": "git",
@@ -34,20 +36,20 @@
34
36
  "homepage": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard",
35
37
  "dependencies": {
36
38
  "postcss-html": "1.5.0",
37
- "stylelint-declaration-strict-value": "1.9.2",
38
- "stylelint-order": "6.0.3",
39
- "stylelint-use-logical-spec": "5.0.0"
39
+ "stylelint-declaration-strict-value": "1.10.4",
40
+ "stylelint-order": "6.0.4",
41
+ "stylelint-use-logical-spec": "5.0.1"
40
42
  },
41
43
  "devDependencies": {
42
- "@aarongoldenthal/eslint-config-standard": "24.0.0",
43
- "eslint": "8.54.0",
44
- "jest": "29.7.0",
45
- "jest-junit": "16.0.0",
46
- "markdownlint-cli2": "0.10.0",
47
- "prettier": "3.1.0",
48
- "stylelint": "15.11.0"
44
+ "@aarongoldenthal/eslint-config-standard": "25.0.0",
45
+ "@vitest/coverage-v8": "1.1.3",
46
+ "eslint": "8.56.0",
47
+ "markdownlint-cli2": "0.11.0",
48
+ "prettier": "3.1.1",
49
+ "stylelint": "16.1.0",
50
+ "vitest": "1.1.3"
49
51
  },
50
52
  "peerDependencies": {
51
- "stylelint": "^15.8.0"
53
+ "stylelint": "^16.1.0"
52
54
  }
53
55
  }