@double-great/stylelint-a11y 3.0.3 → 3.1.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/CHANGELOG.md +61 -0
- package/README.md +2 -0
- package/package.json +17 -14
- package/recommended.js +10 -5
- package/src/rules/content-property-no-static-value/index.js +0 -1
- package/src/rules/font-size-is-readable/index.js +0 -1
- package/src/rules/line-height-is-vertical-rhythmed/index.js +0 -1
- package/src/rules/media-prefers-color-scheme/index.js +0 -1
- package/src/rules/media-prefers-reduced-motion/index.js +0 -1
- package/src/rules/no-display-none/index.js +0 -1
- package/src/rules/no-obsolete-attribute/index.js +0 -1
- package/src/rules/no-obsolete-element/index.js +0 -1
- package/src/rules/no-outline-none/index.js +0 -1
- package/src/rules/no-spread-text/index.js +0 -1
- package/src/rules/no-text-align-justify/index.js +0 -1
- package/src/rules/selector-pseudo-class-focus/index.js +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [3.1.0] - 2025-08-16
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Added `endIndex` support for better error reporting (#74)
|
|
13
|
+
- Added Stylelint v16 minimum version requirement documentation
|
|
14
|
+
- Added explicit lint step to GitHub Actions test workflow
|
|
15
|
+
- Added push trigger for main branch to test workflow
|
|
16
|
+
- Added scheduled runs for dependency management workflow (twice monthly)
|
|
17
|
+
- Added concurrency controls and timeout to test workflow
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Updated to ESLint v9 (#75)
|
|
22
|
+
- Updated all dependencies to latest versions (#73)
|
|
23
|
+
- Fixed test column expectations for Stylelint v16 position reporting changes
|
|
24
|
+
- Fixed deprecation warnings in `report()` function
|
|
25
|
+
- Changed test workflow schedule from Thursday to Sunday at midnight
|
|
26
|
+
- Improved dependabot grouping configuration
|
|
27
|
+
- Renamed test job for better clarity
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- Prevented .coverage folder from being included in npm package (#72)
|
|
32
|
+
- Fixed misleading step name in dependency management workflow
|
|
33
|
+
|
|
34
|
+
## [3.0.4] - 2024
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- Fixed recommended export (#71)
|
|
39
|
+
|
|
40
|
+
## [3.0.3] - 2024
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- Fixed import of `isStandardSyntaxRule` from correct module (#69)
|
|
45
|
+
|
|
46
|
+
## [3.0.2] - 2024
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- Removed `menu` from list of obsolete elements (#64)
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- Removed husky and babel; cleaned up dependencies (#63)
|
|
55
|
+
- Updated dependencies (#62)
|
|
56
|
+
|
|
57
|
+
## [3.0.1] - 2024
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
|
|
61
|
+
- Fixed package configuration (#61)
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@double-great/stylelint-a11y",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Plugin for stylelint with a11y rules",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"exports":
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.js",
|
|
9
|
+
"./recommended": "./recommended.js"
|
|
10
|
+
},
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
13
|
"url": "git+https://github.com/double-great/stylelint-a11y.git"
|
|
@@ -21,7 +24,7 @@
|
|
|
21
24
|
"node": ">=18.12.0"
|
|
22
25
|
},
|
|
23
26
|
"scripts": {
|
|
24
|
-
"lint": "eslint .
|
|
27
|
+
"lint": "eslint .",
|
|
25
28
|
"pretest": "npm run lint && npm run format:check",
|
|
26
29
|
"format:check": "prettier --check .",
|
|
27
30
|
"format:fix": "prettier --write .",
|
|
@@ -37,22 +40,22 @@
|
|
|
37
40
|
"stylelint": ">=16.0.0"
|
|
38
41
|
},
|
|
39
42
|
"devDependencies": {
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"eslint
|
|
42
|
-
"eslint-config-stylelint": "^
|
|
43
|
-
"eslint-plugin-
|
|
44
|
-
"
|
|
45
|
-
"jest": "^
|
|
46
|
-
"jest-light-runner": "^0.
|
|
47
|
-
"jest-preset-stylelint": "^
|
|
48
|
-
"prettier": "^3.2
|
|
49
|
-
"stylelint": "^16.
|
|
43
|
+
"@eslint/js": "^9.33.0",
|
|
44
|
+
"eslint": "^9.33.0",
|
|
45
|
+
"eslint-config-stylelint": "^25.0.0",
|
|
46
|
+
"eslint-plugin-jest": "^29.0.1",
|
|
47
|
+
"globals": "^16.3.0",
|
|
48
|
+
"jest": "^30.0.5",
|
|
49
|
+
"jest-light-runner": "^0.7.9",
|
|
50
|
+
"jest-preset-stylelint": "^8.0.0",
|
|
51
|
+
"prettier": "^3.6.2",
|
|
52
|
+
"stylelint": "^16.23.1"
|
|
50
53
|
},
|
|
51
54
|
"bugs": {
|
|
52
55
|
"url": "https://github.com/double-great/stylelint-a11y/issues"
|
|
53
56
|
},
|
|
54
57
|
"homepage": "https://github.com/double-great/stylelint-a11y#readme",
|
|
55
58
|
"dependencies": {
|
|
56
|
-
"postcss": "^8.
|
|
59
|
+
"postcss": "^8.5.6"
|
|
57
60
|
}
|
|
58
61
|
}
|
package/recommended.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
'
|
|
5
|
-
|
|
1
|
+
/** @type {import('stylelint').Config} */
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
plugin: ['.'],
|
|
5
|
+
|
|
6
|
+
rules: {
|
|
7
|
+
'a11y/media-prefers-reduced-motion': true,
|
|
8
|
+
'a11y/no-outline-none': true,
|
|
9
|
+
'a11y/selector-pseudo-class-focus': true,
|
|
10
|
+
},
|
|
6
11
|
};
|