@enke.dev/lint 0.11.17 → 0.11.19
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/README.md +4 -0
- package/package.json +27 -23
- package/stylelint.config.js +1 -0
package/README.md
CHANGED
|
@@ -96,3 +96,7 @@ Therefore, a `test.eslint.config.ts` is used.
|
|
|
96
96
|
|
|
97
97
|
And additionally, a naive test is in place to check that the linter actually finds issues: `npm run test`.\
|
|
98
98
|
It uses the native Node test runner against some obviously faulty code in the `test` directory.
|
|
99
|
+
|
|
100
|
+
### Updating dependencies
|
|
101
|
+
|
|
102
|
+
If not already done via [dependabot](https://dependabot.com/), dependencies can be updated by running `npx --yes npm-check-updates --dep dev,optional,peer,prod,packageManager --upgrade --reject @types/node`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enke.dev/lint",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.19",
|
|
4
4
|
"description": "Meta package to provide linting for web projects",
|
|
5
5
|
"homepage": "https://github.com/enke-dev/lint",
|
|
6
6
|
"repository": {
|
|
@@ -36,51 +36,55 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
+
"overrides": {
|
|
40
|
+
"eslint": "$eslint",
|
|
41
|
+
"prettier": "$prettier"
|
|
42
|
+
},
|
|
39
43
|
"peerDependencies": {
|
|
40
44
|
"@awmottaz/prettier-plugin-void-html": "^2.0.0",
|
|
41
|
-
"eslint": "^
|
|
42
|
-
"prettier": "^3.
|
|
45
|
+
"eslint": "^10.0.0",
|
|
46
|
+
"prettier": "^3.8.1"
|
|
43
47
|
},
|
|
44
48
|
"optionalDependencies": {
|
|
45
49
|
"jiti": "^2.6.1",
|
|
46
|
-
"stylelint": "^
|
|
50
|
+
"stylelint": "^17.1.1",
|
|
47
51
|
"stylelint-config-rational-order": "^0.1.2",
|
|
48
|
-
"stylelint-config-standard-scss": "^
|
|
49
|
-
"stylelint-order": "^7.0.
|
|
52
|
+
"stylelint-config-standard-scss": "^17.0.0",
|
|
53
|
+
"stylelint-order": "^7.0.1",
|
|
50
54
|
"typescript": "^5.9.3",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
55
|
+
"typescript-eslint": "^8.54.0"
|
|
52
56
|
},
|
|
53
57
|
"dependencies": {
|
|
54
|
-
"@eslint/compat": "2.0.
|
|
55
|
-
"@eslint/js": "
|
|
56
|
-
"@eslint/json": "0.
|
|
57
|
-
"@html-eslint/eslint-plugin": "0.
|
|
58
|
-
"@html-eslint/parser": "0.
|
|
58
|
+
"@eslint/compat": "2.0.2",
|
|
59
|
+
"@eslint/js": "10.0.1",
|
|
60
|
+
"@eslint/json": "1.0.0",
|
|
61
|
+
"@html-eslint/eslint-plugin": "0.54.2",
|
|
62
|
+
"@html-eslint/parser": "0.54.0",
|
|
59
63
|
"eslint-config-prettier": "10.1.8",
|
|
60
64
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
61
|
-
"eslint-plugin-html": "8.1.
|
|
65
|
+
"eslint-plugin-html": "8.1.4",
|
|
62
66
|
"eslint-plugin-import": "2.32.0",
|
|
63
67
|
"eslint-plugin-import-extensions": "0.1.5",
|
|
64
|
-
"eslint-plugin-lit": "2.
|
|
68
|
+
"eslint-plugin-lit": "2.2.1",
|
|
65
69
|
"eslint-plugin-lit-a11y": "5.1.1",
|
|
66
|
-
"eslint-plugin-package-json": "0.88.
|
|
67
|
-
"eslint-plugin-prettier": "5.5.
|
|
70
|
+
"eslint-plugin-package-json": "0.88.2",
|
|
71
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
68
72
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
69
|
-
"eslint-plugin-unused-imports": "4.
|
|
70
|
-
"eslint-plugin-wc": "3.0
|
|
73
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
74
|
+
"eslint-plugin-wc": "3.1.0"
|
|
71
75
|
},
|
|
72
76
|
"devDependencies": {
|
|
73
77
|
"@awmottaz/prettier-plugin-void-html": "2.0.0",
|
|
74
78
|
"@eslint/config-inspector": "1.4.2",
|
|
75
79
|
"@types/node": "24.10.4",
|
|
76
|
-
"eslint": "
|
|
80
|
+
"eslint": "10.0.0",
|
|
77
81
|
"jiti": "2.6.1",
|
|
78
|
-
"prettier": "3.
|
|
79
|
-
"stylelint": "
|
|
82
|
+
"prettier": "3.8.1",
|
|
83
|
+
"stylelint": "17.1.1",
|
|
80
84
|
"stylelint-config-rational-order": "0.1.2",
|
|
81
|
-
"stylelint-config-standard-scss": "
|
|
85
|
+
"stylelint-config-standard-scss": "17.0.0",
|
|
82
86
|
"stylelint-order": "7.0.1",
|
|
83
87
|
"typescript": "5.9.3",
|
|
84
|
-
"typescript-eslint": "8.
|
|
88
|
+
"typescript-eslint": "8.54.0"
|
|
85
89
|
}
|
|
86
90
|
}
|
package/stylelint.config.js
CHANGED
|
@@ -13,6 +13,7 @@ export const defineConfig = ({ cssCustomPropertyPrefix }) => ({
|
|
|
13
13
|
},
|
|
14
14
|
],
|
|
15
15
|
'declaration-empty-line-before': null,
|
|
16
|
+
'no-duplicate-selectors': true,
|
|
16
17
|
'rule-empty-line-before': [
|
|
17
18
|
'always-multi-line',
|
|
18
19
|
{ except: ['after-single-line-comment', 'first-nested'] },
|