@yamato-daiwa/style_guides 0.11.0 → 0.11.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/ECMAScript.js CHANGED
@@ -105,13 +105,18 @@ module.exports = [
105
105
  languageOptions: {
106
106
  parser: typeScriptESLintParser,
107
107
  parserOptions: {
108
- ecmaFeatures: { jsx: true }
108
+ ecmaFeatures: { jsx: true },
109
+ projectService: true
109
110
  }
110
111
  },
111
112
  plugins: {
113
+ "@typescript-eslint": typeScriptPlugin,
112
114
  react: reactPlugin
113
115
  },
114
- rules: reactRules
116
+ rules: {
117
+ ...reactRules,
118
+ ...typeScriptRules
119
+ }
115
120
  },
116
121
 
117
122
  {
@@ -158,7 +158,8 @@ module.exports = {
158
158
  nestedConditionalExpressions: false,
159
159
  ignoredNodes: [
160
160
  "ArrowFunctionExpression[body.type=ConditionalExpression]"
161
- ]
161
+ ],
162
+ ignoreJSX: "all"
162
163
  }
163
164
  ],
164
165
 
@@ -11,16 +11,15 @@ module.exports = {
11
11
  "@stylistic/jsx-indent-props": [ "warn", 2 ],
12
12
  "@stylistic/jsx-max-props-per-line": [ "warn" ],
13
13
  "@stylistic/jsx-one-expression-per-line": [ "warn", { allow: "single-child" } ],
14
- "@stylistic/jsx-props-no-multi-spaces": [ "warn" ],
15
14
  "@stylistic/jsx-quotes": [ "error" ],
16
15
  "@stylistic/jsx-self-closing-comp": [ "error" ],
17
16
  "@stylistic/jsx-tag-spacing": [
18
17
  "warn",
19
18
  {
20
19
  closingSlash: "never",
21
- beforeSelfClosing: "never",
20
+ beforeSelfClosing: "always",
22
21
  afterOpening: "never",
23
- beforeClosing: "allow"
22
+ beforeClosing: "never"
24
23
  }
25
24
  ],
26
25
  "@stylistic/jsx-wrap-multilines": [ "warn" ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/style_guides",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Strict guidelines for ESLint and Pug.",
5
5
  "engines": {
6
6
  "node": ">=18.18.0"