@yamato-daiwa/style_guides 0.6.3 → 0.6.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/ECMAScript.js CHANGED
@@ -100,8 +100,9 @@ module.exports = [
100
100
  },
101
101
 
102
102
  {
103
- files: [ "*.jsx", "*.tsx" ],
103
+ files: [ "**/*.jsx", "**/*.tsx" ],
104
104
  languageOptions: {
105
+ parser: typeScriptESLintParser,
105
106
  parserOptions: {
106
107
  ecmaFeatures: { jsx: true }
107
108
  }
@@ -322,8 +322,8 @@ module.exports = {
322
322
  "no-magic-numbers": [
323
323
  "error",
324
324
  {
325
- "enforceConst": true,
326
- "ignore": [
325
+ enforceConst: true,
326
+ ignore: [
327
327
  -1,
328
328
  0,
329
329
  0.5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/style_guides",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "The guidelines for ESLint and Pug.",
5
5
  "engines": {
6
6
  "node": ">=18.18.0"
@@ -21,28 +21,30 @@
21
21
  "peerDependencies": {
22
22
  "@eslint-community/eslint-plugin-eslint-comments": "~4.4.0",
23
23
  "@stylistic/eslint-plugin": "~3.1.0",
24
- "@typescript-eslint/eslint-plugin": "~8.24.0",
25
- "@typescript-eslint/parser": "~8.24.0",
26
- "eslint": "~9.21.0",
24
+ "@typescript-eslint/eslint-plugin": "~8.26.0",
25
+ "@typescript-eslint/parser": "~8.26.0",
26
+ "eslint": "~9.22.0",
27
27
  "eslint-plugin-import": "2.31.0",
28
- "eslint-plugin-n": "~17.15.0",
28
+ "eslint-plugin-n": "~17.16.0",
29
29
  "eslint-plugin-react": "~7.37.0",
30
- "eslint-plugin-vue": "~9.32.0",
30
+ "eslint-plugin-vue": "~9.33.0",
31
31
  "eslint-plugin-vue-pug": "~0.6.2",
32
- "typescript": "~5.7.0"
32
+ "typescript": "~5.8.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
36
36
  "@stylistic/eslint-plugin": "3.1.0",
37
- "@typescript-eslint/eslint-plugin": "8.24.1",
38
- "@typescript-eslint/parser": "8.24.1",
39
- "eslint": "9.21.0",
37
+ "@types/react": "19.0.10",
38
+ "@typescript-eslint/eslint-plugin": "8.26.0",
39
+ "@typescript-eslint/parser": "8.26.0",
40
+ "eslint": "9.22.0",
40
41
  "eslint-plugin-import": "2.31.0",
41
- "eslint-plugin-n": "17.15.1",
42
+ "eslint-plugin-n": "17.16.2",
42
43
  "eslint-plugin-react": "7.37.4",
43
- "eslint-plugin-vue": "9.32.0",
44
+ "eslint-plugin-vue": "9.33.0",
44
45
  "eslint-plugin-vue-pug": "0.6.2",
45
- "typescript": "5.7.3",
46
+ "react": "19.0.0",
47
+ "typescript": "5.8.2",
46
48
  "vue-facing-decorator": "3.0.4"
47
49
  },
48
50
  "files": [
@@ -55,6 +57,8 @@
55
57
  "JavaScript Test": "eslint Tests/JavaScriptTest.js --config ECMAScript.js",
56
58
  "TypeScript Test": "eslint Tests/TypeScriptTest.ts --config ECMAScript.js",
57
59
  "Testing File Test": "eslint Tests/Test.test.ts --config ECMAScript.js",
60
+ "React Test": "eslint Tests/ReactTest.tsx",
61
+ "Testing of All Assets": "eslint Tests/**/*",
58
62
  "Vue Single File Component Test": "eslint Tests/SampleVueSingleFileComponent.vue --config ECMAScript.js"
59
63
  }
60
64
  }