@yamato-daiwa/style_guides 0.7.0 → 0.8.0

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.
Files changed (2) hide show
  1. package/ECMAScript.js +9 -1
  2. package/package.json +16 -15
package/ECMAScript.js CHANGED
@@ -101,7 +101,7 @@ module.exports = [
101
101
  },
102
102
 
103
103
  {
104
- files: [ "**/*.jsx", "**/*.tsx" ],
104
+ files: [ "**/*.tsx" ],
105
105
  languageOptions: {
106
106
  parser: typeScriptESLintParser,
107
107
  parserOptions: {
@@ -114,6 +114,14 @@ module.exports = [
114
114
  rules: reactRules
115
115
  },
116
116
 
117
+ {
118
+ files: [ "**/*.jsx" ],
119
+ plugins: {
120
+ react: reactPlugin
121
+ },
122
+ rules: reactRules
123
+ },
124
+
117
125
  {
118
126
  files: [ "**/*.test.ts" ],
119
127
  rules: overridingsForTestingFiles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/style_guides",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "The guidelines for ESLint and Pug.",
5
5
  "engines": {
6
6
  "node": ">=18.18.0"
@@ -20,12 +20,12 @@
20
20
  "license": "MIT",
21
21
  "peerDependencies": {
22
22
  "@eslint-community/eslint-plugin-eslint-comments": "~4.5.0",
23
- "@stylistic/eslint-plugin": "~4.4.0",
24
- "@typescript-eslint/eslint-plugin": "~8.33.0",
25
- "@typescript-eslint/parser": "~8.33.0",
26
- "eslint": "~9.28.0",
27
- "eslint-plugin-import": "2.31.0",
28
- "eslint-plugin-n": "~17.19.0",
23
+ "@stylistic/eslint-plugin": "~5.1.0",
24
+ "@typescript-eslint/eslint-plugin": "~8.36.0",
25
+ "@typescript-eslint/parser": "~8.36.0",
26
+ "eslint": "~9.31.0",
27
+ "eslint-plugin-import": "~2.32.0",
28
+ "eslint-plugin-n": "~17.21.0",
29
29
  "eslint-plugin-react": "~7.37.0",
30
30
  "eslint-plugin-vue": "~9.33.0",
31
31
  "eslint-plugin-vue-pug": "~0.6.2",
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
36
- "@stylistic/eslint-plugin": "4.4.1",
36
+ "@stylistic/eslint-plugin": "5.1.0",
37
37
  "@types/node": "22.15.30",
38
- "@types/react": "19.1.6",
39
- "@typescript-eslint/eslint-plugin": "8.33.1",
40
- "@typescript-eslint/parser": "8.33.1",
41
- "eslint": "9.28.0",
42
- "eslint-plugin-import": "2.31.0",
43
- "eslint-plugin-n": "17.19.0",
38
+ "@types/react": "19.1.8",
39
+ "@typescript-eslint/eslint-plugin": "8.36.0",
40
+ "@typescript-eslint/parser": "8.36.0",
41
+ "eslint": "9.31.0",
42
+ "eslint-plugin-import": "2.32.0",
43
+ "eslint-plugin-n": "17.21.0",
44
44
  "eslint-plugin-react": "7.37.5",
45
45
  "eslint-plugin-vue": "9.33.0",
46
46
  "eslint-plugin-vue-pug": "0.6.2",
@@ -58,7 +58,8 @@
58
58
  "JavaScript Test": "eslint Tests/JavaScriptTest.js --config ECMAScript.js",
59
59
  "TypeScript Test": "eslint Tests/TypeScriptTest.ts --config ECMAScript.js",
60
60
  "Testing File Test": "eslint Tests/Test.test.ts --config ECMAScript.js",
61
- "React Test": "eslint Tests/ReactTest.tsx",
61
+ "TSX Test": "eslint Tests/ReactTest.tsx",
62
+ "JSX Test": "eslint Tests/ReactTest.jsx",
62
63
  "Testing of All Assets": "eslint Tests/**/*",
63
64
  "Vue Single File Component Test": "eslint Tests/SampleVueSingleFileComponent.vue --config ECMAScript.js"
64
65
  }