@yamato-daiwa/style_guides 0.2.10 → 0.2.12
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/Markup.js +20 -0
- package/Partials/Overridings/TypeScriptOverridings.js +1 -0
- package/README.md +4 -1
- package/package.json +10 -10
package/Markup.js
CHANGED
|
@@ -81,11 +81,31 @@ module.exports = {
|
|
|
81
81
|
|
|
82
82
|
validateAttributeQuoteMarks: "\"",
|
|
83
83
|
|
|
84
|
+
/*
|
|
85
|
+
|
|
84
86
|
validateAttributeSeparator: {
|
|
85
87
|
separator: " ",
|
|
86
88
|
multiLineSeparator: "\n "
|
|
87
89
|
},
|
|
88
90
|
|
|
91
|
+
Disabled because of bugs like in:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
each person in people
|
|
95
|
+
|
|
96
|
+
li
|
|
97
|
+
|
|
98
|
+
figure
|
|
99
|
+
|
|
100
|
+
img(
|
|
101
|
+
src=person.photoURI
|
|
102
|
+
alt=""
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
figcaption= person.fullName
|
|
106
|
+
```
|
|
107
|
+
*/
|
|
108
|
+
|
|
89
109
|
validateDivTags: true,
|
|
90
110
|
|
|
91
111
|
validateExtensions: true,
|
|
@@ -191,6 +191,7 @@ module.exports = {
|
|
|
191
191
|
"no-useless-constructor": "off",
|
|
192
192
|
"@typescript-eslint/no-useless-constructor": "error",
|
|
193
193
|
|
|
194
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment": "error",
|
|
194
195
|
"@typescript-eslint/no-unnecessary-template-expression": "warn",
|
|
195
196
|
|
|
196
197
|
"@typescript-eslint/return-await": "error",
|
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
# Yamato Daiwa Style
|
|
1
|
+
# Yamato Daiwa Style Guides
|
|
2
|
+
|
|
3
|
+
[//]: # ()
|
|
4
|
+
|
|
2
5
|
|
|
3
6
|
The strict style guides for the high quality development with TypeScript and Pug.
|
|
4
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamato-daiwa/style_guides",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "The guidelines for ESLint, Pug and Stylus.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.18.0"
|
|
@@ -20,27 +20,27 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@stylistic/eslint-plugin": "~2.3.0",
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "~7.
|
|
24
|
-
"@typescript-eslint/parser": "~7.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "~7.17.0",
|
|
24
|
+
"@typescript-eslint/parser": "~7.17.0",
|
|
25
25
|
"eslint": "~8.57.0",
|
|
26
26
|
"eslint-plugin-import": "~2.29.1",
|
|
27
27
|
"eslint-plugin-node": "~11.1.0",
|
|
28
|
-
"eslint-plugin-react": "~7.
|
|
29
|
-
"eslint-plugin-vue": "~9.
|
|
28
|
+
"eslint-plugin-react": "~7.35.0",
|
|
29
|
+
"eslint-plugin-vue": "~9.27.0",
|
|
30
30
|
"eslint-plugin-vue-pug": "~0.6.1",
|
|
31
31
|
"typescript": "~5.5.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@stylistic/eslint-plugin": "2.3.0",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
36
|
-
"@typescript-eslint/parser": "7.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
36
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
37
37
|
"eslint": "8.57.0",
|
|
38
38
|
"eslint-plugin-import": "2.29.1",
|
|
39
39
|
"eslint-plugin-node": "11.1.0",
|
|
40
|
-
"eslint-plugin-react": "7.
|
|
41
|
-
"eslint-plugin-vue": "9.
|
|
40
|
+
"eslint-plugin-react": "7.35.0",
|
|
41
|
+
"eslint-plugin-vue": "9.27.0",
|
|
42
42
|
"eslint-plugin-vue-pug": "0.6.2",
|
|
43
|
-
"typescript": "5.5.
|
|
43
|
+
"typescript": "5.5.4"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"Partials",
|