shinkansen-cogs 1.7.282 → 1.7.284

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/eslint.config.mjs +63 -0
  2. package/package.json +6 -6
package/eslint.config.mjs CHANGED
@@ -107,6 +107,10 @@ export default [
107
107
  'src/**/*.tsx',
108
108
  'stories/**/*.jsx'
109
109
  ],
110
+ ignores: [
111
+ 'src/**/__tests__/**/*.tsx',
112
+ 'stories/**/__tests__/**/*.jsx'
113
+ ],
110
114
  languageOptions: {
111
115
  parser: babelParser,
112
116
  parserOptions: {
@@ -131,6 +135,36 @@ export default [
131
135
  }
132
136
  }
133
137
  }),
138
+ standard({
139
+ files: [
140
+ 'src/**/__tests__/**/*.tsx',
141
+ 'stories/**/__tests__/**/*.jsx'
142
+ ],
143
+ languageOptions: {
144
+ parser: babelParser,
145
+ parserOptions: {
146
+ ...reactParserOptions,
147
+ project: null
148
+ },
149
+ globals: {
150
+ ...globals.browser,
151
+ ...globals.jest
152
+ }
153
+ },
154
+ plugins: {
155
+ ...reactPlugins,
156
+ ...storybookPlugins
157
+ },
158
+ rules: {
159
+ ...reactRules
160
+ },
161
+ settings: {
162
+ ...reactSettings,
163
+ 'import/resolver': {
164
+ 'babel-module': {}
165
+ }
166
+ }
167
+ }),
134
168
  /**
135
169
  * TypeScript config
136
170
  */
@@ -165,6 +199,9 @@ export default [
165
199
  files: [
166
200
  'src/**/*.tsx'
167
201
  ],
202
+ ignores: [
203
+ 'src/**/__tests__/**/*.tsx'
204
+ ],
168
205
  languageOptions: {
169
206
  parser: typescriptParser,
170
207
  parserOptions: {
@@ -185,5 +222,31 @@ export default [
185
222
  settings: {
186
223
  ...reactSettings
187
224
  }
225
+ }),
226
+ typescript({
227
+ files: [
228
+ 'src/**/__tests__/**/*.tsx'
229
+ ],
230
+ languageOptions: {
231
+ parser: typescriptParser,
232
+ parserOptions: {
233
+ ...reactParserOptions,
234
+ projectService: true,
235
+ project: 'tsconfig.json'
236
+ },
237
+ globals: {
238
+ ...globals.browser,
239
+ ...globals.jest
240
+ }
241
+ },
242
+ plugins: {
243
+ ...reactPlugins
244
+ },
245
+ rules: {
246
+ ...reactRules
247
+ },
248
+ settings: {
249
+ ...reactSettings
250
+ }
188
251
  })
189
252
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-cogs",
3
- "version": "1.7.282",
3
+ "version": "1.7.284",
4
4
  "description": "Shinkansen Cogs",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -49,13 +49,13 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/core": "^7.26.0",
52
- "@babel/eslint-parser": "^7.25.9",
52
+ "@babel/eslint-parser": "^7.26.5",
53
53
  "@babel/preset-env": "^7.26.0",
54
54
  "@babel/preset-react": "^7.26.3",
55
55
  "@babel/register": "^7.25.9",
56
- "@modernpoacher/design-system": "1.1.21",
57
- "@sequencemedia/eslint-config-standard": "^0.2.10",
58
- "@sequencemedia/eslint-config-typescript": "^0.1.15",
56
+ "@modernpoacher/design-system": "1.1.22",
57
+ "@sequencemedia/eslint-config-standard": "^0.2.12",
58
+ "@sequencemedia/eslint-config-typescript": "^0.1.17",
59
59
  "@storybook/addon-actions": "7.6.20",
60
60
  "@storybook/addon-essentials": "7.6.20",
61
61
  "@storybook/addon-links": "7.6.20",
@@ -68,7 +68,7 @@
68
68
  "clean-webpack-plugin": "^4.0.0",
69
69
  "core-js": "^3.40.0",
70
70
  "cross-env": "^7.0.3",
71
- "eslint": "^9.17.0",
71
+ "eslint": "^9.18.0",
72
72
  "eslint-import-resolver-babel-module": "^5.3.2",
73
73
  "eslint-plugin-react": "^7.37.3",
74
74
  "eslint-plugin-storybook": "^0.11.2",