@yamato-daiwa/style_guides 0.1.9 → 0.2.1
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.
|
@@ -163,10 +163,9 @@ module.exports = {
|
|
|
163
163
|
"curly": "error",
|
|
164
164
|
"dot-notation": "warn",
|
|
165
165
|
"one-var": [ "error", "never" ],
|
|
166
|
-
"one-var-declaration-per-line": [ "error", "initializations" ],
|
|
166
|
+
"@stylistic/one-var-declaration-per-line": [ "error", "initializations" ],
|
|
167
167
|
"prefer-object-spread": "error",
|
|
168
168
|
"prefer-regex-literals": [ "error", { disallowRedundantWrapping: true } ],
|
|
169
|
-
"quote-props": [ "error", "as-needed" ],
|
|
170
169
|
"@stylistic/array-bracket-newline": [ "warn", "consistent" ],
|
|
171
170
|
"@stylistic/array-bracket-spacing": [ "warn", "always" ],
|
|
172
171
|
"@stylistic/array-element-newline": [ "warn", "consistent" ],
|
|
@@ -206,10 +205,12 @@ module.exports = {
|
|
|
206
205
|
"@stylistic/newline-per-chained-call": [ "warn", { ignoreChainWithDepth: 2 } ],
|
|
207
206
|
"@stylistic/no-floating-decimal": "error",
|
|
208
207
|
"@stylistic/no-whitespace-before-property": "warn",
|
|
209
|
-
"object-curly-spacing": [ "warn", "always" ],
|
|
210
|
-
"object-property-newline": [ "warn", { allowAllPropertiesOnSameLine: true } ],
|
|
211
|
-
"
|
|
212
|
-
"
|
|
208
|
+
"@stylistic/object-curly-spacing": [ "warn", "always" ],
|
|
209
|
+
"@stylistic/object-property-newline": [ "warn", { allowAllPropertiesOnSameLine: true } ],
|
|
210
|
+
"@stylistic/operator-linebreak": [ "warn", "after" ],
|
|
211
|
+
"@stylistic/quote-props": [ "warn", "as-needed" ],
|
|
212
|
+
"@stylistic/quotes": [ "error", "double", { avoidEscape: true } ],
|
|
213
|
+
"@stylistic/rest-spread-spacing": [ "warn", "never" ],
|
|
213
214
|
"semi": "error",
|
|
214
215
|
"semi-spacing": "warn",
|
|
215
216
|
"semi-style": "warn",
|
|
@@ -58,7 +58,7 @@ module.exports = {
|
|
|
58
58
|
}
|
|
59
59
|
],
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
62
62
|
|
|
63
63
|
/* --- Algorithmic errors preventing ---------------------------------------------------------------------------- */
|
|
64
64
|
"@typescript-eslint/no-array-delete": "error",
|
|
@@ -291,9 +291,6 @@ module.exports = {
|
|
|
291
291
|
|
|
292
292
|
"@typescript-eslint/no-var-requires": "error",
|
|
293
293
|
|
|
294
|
-
"object-curly-spacing": "off",
|
|
295
|
-
"@typescript-eslint/object-curly-spacing": ECMA_ScriptBasicRules["object-curly-spacing"],
|
|
296
|
-
|
|
297
294
|
"@typescript-eslint/prefer-function-type": "warn",
|
|
298
295
|
|
|
299
296
|
"@typescript-eslint/prefer-includes": "warn",
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamato-daiwa/style_guides",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "The guidelines for ESLint, Pug and Stylus.",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=18.18.0"
|
|
7
|
+
},
|
|
5
8
|
"repository": {
|
|
6
9
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/TokugawaTakeshi/Yamato-Daiwa-StyleGuides.git"
|
|
10
|
+
"url": "git+https://github.com/TokugawaTakeshi/Yamato-Daiwa-StyleGuides.git"
|
|
8
11
|
},
|
|
9
12
|
"keywords": [
|
|
10
13
|
"eslint",
|
|
@@ -17,27 +20,27 @@
|
|
|
17
20
|
"license": "MIT",
|
|
18
21
|
"peerDependencies": {
|
|
19
22
|
"@stylistic/eslint-plugin": "~1.7.0",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "~7.
|
|
21
|
-
"@typescript-eslint/parser": "~7.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "~7.5.0",
|
|
24
|
+
"@typescript-eslint/parser": "~7.5.0",
|
|
22
25
|
"eslint": "~8.57.0",
|
|
23
26
|
"eslint-plugin-import": "~2.29.1",
|
|
24
27
|
"eslint-plugin-node": "~11.1.0",
|
|
25
28
|
"eslint-plugin-react": "~7.34.1",
|
|
26
|
-
"eslint-plugin-vue": "~9.
|
|
29
|
+
"eslint-plugin-vue": "~9.24.0",
|
|
27
30
|
"eslint-plugin-vue-pug": "~0.6.1",
|
|
28
|
-
"typescript": "~5.4.
|
|
31
|
+
"typescript": "~5.4.0"
|
|
29
32
|
},
|
|
30
33
|
"devDependencies": {
|
|
31
34
|
"@stylistic/eslint-plugin": "1.7.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
33
|
-
"@typescript-eslint/parser": "7.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "7.5.0",
|
|
36
|
+
"@typescript-eslint/parser": "7.5.0",
|
|
34
37
|
"eslint": "8.57.0",
|
|
35
38
|
"eslint-plugin-import": "2.29.1",
|
|
36
39
|
"eslint-plugin-node": "11.1.0",
|
|
37
40
|
"eslint-plugin-react": "7.34.1",
|
|
38
|
-
"eslint-plugin-vue": "9.
|
|
41
|
+
"eslint-plugin-vue": "9.24.0",
|
|
39
42
|
"eslint-plugin-vue-pug": "0.6.2",
|
|
40
|
-
"typescript": "5.4.
|
|
43
|
+
"typescript": "5.4.4"
|
|
41
44
|
},
|
|
42
45
|
"files": [
|
|
43
46
|
"Partials",
|
|
@@ -45,7 +48,7 @@
|
|
|
45
48
|
"Markup.js"
|
|
46
49
|
],
|
|
47
50
|
"scripts": {
|
|
48
|
-
"JavaScript
|
|
49
|
-
"TypeScript
|
|
51
|
+
"JavaScript Test": "eslint Tests/JavaScriptTest.js --config ECMAScript.js",
|
|
52
|
+
"TypeScript Test": "eslint Tests/TypeScriptTest.ts --config ECMAScript.js"
|
|
50
53
|
}
|
|
51
54
|
}
|