@html-validate/eslint-config 5.4.0 → 5.4.2
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/dist/cli.js +1 -1
- package/package.json +2 -2
- package/template/eslintrc.js.njk +6 -4
package/dist/cli.js
CHANGED
@@ -8905,7 +8905,7 @@ var require_package = __commonJS({
|
|
8905
8905
|
"package.json"(exports, module2) {
|
8906
8906
|
module2.exports = {
|
8907
8907
|
name: "@html-validate/eslint-config",
|
8908
|
-
version: "5.
|
8908
|
+
version: "5.4.0",
|
8909
8909
|
description: "Eslint sharable config used by the various HTML-validate packages",
|
8910
8910
|
keywords: [
|
8911
8911
|
"eslint"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@html-validate/eslint-config",
|
3
|
-
"version": "5.4.
|
3
|
+
"version": "5.4.2",
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
5
5
|
"keywords": [
|
6
6
|
"eslint"
|
@@ -60,5 +60,5 @@
|
|
60
60
|
"publishConfig": {
|
61
61
|
"access": "public"
|
62
62
|
},
|
63
|
-
"gitHead": "
|
63
|
+
"gitHead": "fc0b9102341294c02f84d19ce56c9c39254cdae5"
|
64
64
|
}
|
package/template/eslintrc.js.njk
CHANGED
@@ -13,15 +13,17 @@ module.exports = {
|
|
13
13
|
{% if typescript %}
|
14
14
|
{
|
15
15
|
files: "*.ts",
|
16
|
+
extends: ["@html-validate/typescript"],
|
17
|
+
},
|
18
|
+
{% endif %}
|
16
19
|
{% if typeinfo %}
|
20
|
+
{
|
21
|
+
files: "src/**/*.ts",
|
17
22
|
parserOptions: {
|
18
23
|
tsconfigRootDir: {% if typeinfo.rootDir == "." %}__dirname{% else %}path.join(__dirname, "{{ typeinfo.rootDir }}"){% endif %},
|
19
24
|
project: ["{{ typeinfo.tsconfig }}"],
|
20
25
|
},
|
21
|
-
extends: ["@html-validate/typescript
|
22
|
-
{% else %}
|
23
|
-
extends: ["@html-validate/typescript"],
|
24
|
-
{% endif %}
|
26
|
+
extends: ["@html-validate/typescript-typeinfo"],
|
25
27
|
},
|
26
28
|
{% endif %}
|
27
29
|
{% if angularjs %}
|