@enke.dev/lint 0.11.3 → 0.11.5
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/eslint.config.js +2 -2
- package/package.json +15 -15
- package/prettier.config.js +0 -2
package/eslint.config.js
CHANGED
|
@@ -136,7 +136,7 @@ const config = defineConfig([
|
|
|
136
136
|
html: eslintPluginHtml,
|
|
137
137
|
htmlScripts: eslintPluginHtmlScripts,
|
|
138
138
|
},
|
|
139
|
-
extends: [
|
|
139
|
+
extends: ['html/recommended'],
|
|
140
140
|
language: 'html/html',
|
|
141
141
|
languageOptions: {
|
|
142
142
|
parser: eslintParserHtml,
|
|
@@ -163,7 +163,7 @@ const config = defineConfig([
|
|
|
163
163
|
'html/require-input-label': 'error',
|
|
164
164
|
},
|
|
165
165
|
rules: {
|
|
166
|
-
'
|
|
166
|
+
'html/indent': ['error', 2],
|
|
167
167
|
},
|
|
168
168
|
},
|
|
169
169
|
// JSON files
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enke.dev/lint",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"description": "Meta package to provide linting for web projects",
|
|
5
5
|
"homepage": "https://github.com/enke-dev/lint",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
"main": "eslint.config.js",
|
|
22
22
|
"types": "eslint.config.d.ts",
|
|
23
23
|
"scripts": {
|
|
24
|
-
"
|
|
24
|
+
"check": "tsc -p tsconfig.build.json --noEmit",
|
|
25
25
|
"lint": "eslint -c test.eslint.config.ts .",
|
|
26
|
+
"test": "node --experimental-strip-types --test test.run.ts",
|
|
26
27
|
"inspect": "./node_modules/.bin/eslint-config-inspector --config eslint.config.ts",
|
|
27
28
|
"dev": "tsc -p tsconfig.build.json --watch",
|
|
28
29
|
"build": "tsc -p tsconfig.build.json"
|
|
@@ -49,12 +50,11 @@
|
|
|
49
50
|
"typescript-eslint": "^8.43.0"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@eslint/
|
|
54
|
-
"@eslint/
|
|
55
|
-
"@eslint/
|
|
56
|
-
"@html-eslint/
|
|
57
|
-
"@html-eslint/parser": "0.47.0",
|
|
53
|
+
"@eslint/compat": "2.0.0",
|
|
54
|
+
"@eslint/js": "9.39.1",
|
|
55
|
+
"@eslint/json": "0.14.0",
|
|
56
|
+
"@html-eslint/eslint-plugin": "0.49.0",
|
|
57
|
+
"@html-eslint/parser": "0.49.0",
|
|
58
58
|
"eslint-config-prettier": "10.1.8",
|
|
59
59
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
60
60
|
"eslint-plugin-html": "8.1.3",
|
|
@@ -62,23 +62,23 @@
|
|
|
62
62
|
"eslint-plugin-import-extensions": "0.1.5",
|
|
63
63
|
"eslint-plugin-lit": "2.1.1",
|
|
64
64
|
"eslint-plugin-lit-a11y": "5.1.1",
|
|
65
|
-
"eslint-plugin-package-json": "0.
|
|
65
|
+
"eslint-plugin-package-json": "0.85.0",
|
|
66
66
|
"eslint-plugin-prettier": "5.5.4",
|
|
67
67
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
68
|
-
"eslint-plugin-unused-imports": "4.
|
|
68
|
+
"eslint-plugin-unused-imports": "4.3.0",
|
|
69
69
|
"eslint-plugin-wc": "3.0.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@eslint/config-inspector": "1.
|
|
73
|
-
"@types/node": "24.
|
|
74
|
-
"eslint": "9.
|
|
72
|
+
"@eslint/config-inspector": "1.4.2",
|
|
73
|
+
"@types/node": "24.10.1",
|
|
74
|
+
"eslint": "9.39.1",
|
|
75
75
|
"jiti": "2.6.1",
|
|
76
76
|
"prettier": "3.6.2",
|
|
77
|
-
"stylelint": "16.
|
|
77
|
+
"stylelint": "16.26.0",
|
|
78
78
|
"stylelint-config-rational-order": "0.1.2",
|
|
79
79
|
"stylelint-config-standard-scss": "16.0.0",
|
|
80
80
|
"stylelint-order": "7.0.0",
|
|
81
81
|
"typescript": "5.9.3",
|
|
82
|
-
"typescript-eslint": "8.
|
|
82
|
+
"typescript-eslint": "8.47.0"
|
|
83
83
|
}
|
|
84
84
|
}
|
package/prettier.config.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as voidHtml from '@awmottaz/prettier-plugin-void-html';
|
|
2
1
|
const config = {
|
|
3
2
|
arrowParens: 'avoid',
|
|
4
3
|
endOfLine: 'auto',
|
|
@@ -8,6 +7,5 @@ const config = {
|
|
|
8
7
|
tabWidth: 2,
|
|
9
8
|
trailingComma: 'es5',
|
|
10
9
|
useTabs: false,
|
|
11
|
-
plugins: [voidHtml],
|
|
12
10
|
};
|
|
13
11
|
export default config;
|