@double-great/stylelint-a11y 3.0.1 → 3.0.3
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 +13 -20
- package/src/rules/content-property-no-static-value/index.js +1 -1
- package/src/rules/font-size-is-readable/index.js +1 -1
- package/src/rules/line-height-is-vertical-rhythmed/index.js +1 -1
- package/src/rules/media-prefers-color-scheme/index.js +1 -1
- package/src/rules/media-prefers-reduced-motion/index.js +1 -1
- package/src/rules/no-display-none/index.js +1 -1
- package/src/rules/no-obsolete-attribute/index.js +1 -1
- package/src/rules/no-obsolete-element/index.js +1 -1
- package/src/rules/no-obsolete-element/obsoleteElements.js +0 -1
- package/src/rules/no-outline-none/index.js +1 -1
- package/src/rules/no-spread-text/index.js +1 -1
- package/src/rules/no-text-align-justify/index.js +1 -1
- package/src/rules/selector-pseudo-class-focus/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@double-great/stylelint-a11y",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Plugin for stylelint with a11y rules",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": "./src/index.js",
|
|
8
8
|
"repository": {
|
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"lint": "eslint . --ignore-path .gitignore",
|
|
25
|
-
"pretest": "npm run lint
|
|
25
|
+
"pretest": "npm run lint && npm run format:check",
|
|
26
|
+
"format:check": "prettier --check .",
|
|
27
|
+
"format:fix": "prettier --write .",
|
|
26
28
|
"test": "jest",
|
|
27
|
-
"coverage": "jest --coverage"
|
|
28
|
-
"prepare": "husky install"
|
|
29
|
+
"coverage": "jest --coverage"
|
|
29
30
|
},
|
|
30
31
|
"prettier": {
|
|
31
32
|
"printWidth": 100,
|
|
@@ -36,30 +37,22 @@
|
|
|
36
37
|
"stylelint": ">=16.0.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"@babel/preset-env": "^7.23.6",
|
|
41
|
-
"eslint": "^8.55.0",
|
|
40
|
+
"eslint": "^8.56.0",
|
|
42
41
|
"eslint-config-prettier": "^9.1.0",
|
|
43
|
-
"eslint-config-stylelint": "^
|
|
44
|
-
"eslint-plugin-import": "^2.29.
|
|
45
|
-
"eslint-plugin-prettier": "^5.
|
|
46
|
-
"husky": "^8.0.3",
|
|
42
|
+
"eslint-config-stylelint": "^21.0.0",
|
|
43
|
+
"eslint-plugin-import": "^2.29.1",
|
|
44
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
47
45
|
"jest": "^29.7.0",
|
|
48
46
|
"jest-light-runner": "^0.6.0",
|
|
49
47
|
"jest-preset-stylelint": "^7.0.0",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"stylelint": "^16.0.2"
|
|
48
|
+
"prettier": "^3.2.5",
|
|
49
|
+
"stylelint": "^16.2.1"
|
|
53
50
|
},
|
|
54
51
|
"bugs": {
|
|
55
52
|
"url": "https://github.com/double-great/stylelint-a11y/issues"
|
|
56
53
|
},
|
|
57
54
|
"homepage": "https://github.com/double-great/stylelint-a11y#readme",
|
|
58
55
|
"dependencies": {
|
|
59
|
-
"postcss": "^8.4.
|
|
60
|
-
},
|
|
61
|
-
"lint-staged": {
|
|
62
|
-
"*.js": "eslint --cache --fix",
|
|
63
|
-
"*.css": "stylelint --fix"
|
|
56
|
+
"postcss": "^8.4.33"
|
|
64
57
|
}
|
|
65
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import isCustomSelector from 'stylelint/lib/utils/isCustomSelector.mjs';
|
|
2
2
|
import isStandardSyntaxAtRule from 'stylelint/lib/utils/isStandardSyntaxAtRule.mjs';
|
|
3
|
-
import isStandardSyntaxRule from 'stylelint/lib/utils/
|
|
3
|
+
import isStandardSyntaxRule from 'stylelint/lib/utils/isStandardSyntaxRule.mjs';
|
|
4
4
|
import isStandardSyntaxSelector from 'stylelint/lib/utils/isStandardSyntaxSelector.mjs';
|
|
5
5
|
|
|
6
6
|
import stylelint from 'stylelint';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import isCustomSelector from 'stylelint/lib/utils/isCustomSelector.mjs';
|
|
2
2
|
import isStandardSyntaxAtRule from 'stylelint/lib/utils/isStandardSyntaxAtRule.mjs';
|
|
3
|
-
import isStandardSyntaxRule from 'stylelint/lib/utils/
|
|
3
|
+
import isStandardSyntaxRule from 'stylelint/lib/utils/isStandardSyntaxRule.mjs';
|
|
4
4
|
import isStandardSyntaxSelector from 'stylelint/lib/utils/isStandardSyntaxSelector.mjs';
|
|
5
5
|
import { parse } from 'postcss';
|
|
6
6
|
import stylelint from 'stylelint';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import isStandardSyntaxRule from 'stylelint/lib/utils/
|
|
1
|
+
import isStandardSyntaxRule from 'stylelint/lib/utils/isStandardSyntaxRule.mjs';
|
|
2
2
|
import { obsoleteAttributes } from './obsoleteAttributes.js';
|
|
3
3
|
import stylelint from 'stylelint';
|
|
4
4
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import isStandardSyntaxRule from 'stylelint/lib/utils/
|
|
1
|
+
import isStandardSyntaxRule from 'stylelint/lib/utils/isStandardSyntaxRule.mjs';
|
|
2
2
|
import { obsoleteElements } from './obsoleteElements.js';
|
|
3
3
|
import stylelint from 'stylelint';
|
|
4
4
|
const {
|