react-tab-set 2.1.5 → 2.1.6

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 +45 -16
  2. package/package.json +3 -3
package/eslint.config.mjs CHANGED
@@ -1,6 +1,10 @@
1
1
  import globals from 'globals'
2
- import standard from '@sequencemedia/eslint-config-standard/merge/recommended'
3
- import typescript from '@sequencemedia/eslint-config-typescript/merge/recommended'
2
+ import {
3
+ configs as standard
4
+ } from '@sequencemedia/eslint-config-standard'
5
+ import {
6
+ configs as typescript
7
+ } from '@sequencemedia/eslint-config-typescript'
4
8
  import babelParser from '@babel/eslint-parser'
5
9
  import typescriptParser from '@typescript-eslint/parser'
6
10
  import reactPlugin from 'eslint-plugin-react'
@@ -56,7 +60,8 @@ export default [
56
60
  '**/*.{jsx,tsx}'
57
61
  ]
58
62
  },
59
- standard({
63
+ {
64
+ ...standard.recommended,
60
65
  files: [
61
66
  '**/*.{mjs,cjs}'
62
67
  ],
@@ -65,48 +70,61 @@ export default [
65
70
  'stories'
66
71
  ],
67
72
  languageOptions: {
73
+ ...standard.recommended.languageOptions,
68
74
  globals: {
75
+ ...standard.recommended.globals,
69
76
  ...globals.node
70
77
  }
71
78
  }
72
- }),
73
- standard({
79
+ },
80
+ {
81
+ ...standard.recommended,
74
82
  files: [
75
83
  'src/**/*.{mjs,cjs}'
76
84
  ],
77
85
  languageOptions: {
86
+ ...standard.recommended.languageOptions,
78
87
  globals: {
88
+ ...standard.recommended.languageOptions.globals,
79
89
  ...globals.browser
80
90
  }
81
91
  }
82
- }),
92
+ },
83
93
  /**
84
94
  * Standard config for all `jsx` and `tsx` files
85
95
  */
86
- standard({
96
+ {
97
+ ...standard.recommended,
87
98
  files: [
88
99
  '**/*.{jsx,tsx}'
89
100
  ],
90
101
  languageOptions: {
102
+ ...standard.recommended.languageOptions,
91
103
  parser: babelParser,
92
104
  parserOptions: {
105
+ ...standard.recommended.languageOptions.parserOptions,
93
106
  ...reactParserOptions
94
107
  },
95
108
  globals: {
109
+ ...standard.recommended.globals,
96
110
  ...globals.browser
97
111
  }
98
112
  },
99
113
  plugins: {
114
+ ...standard.recommended.plugins,
100
115
  ...reactPlugins
101
116
  },
102
117
  rules: {
118
+ ...standard.recommended.rules,
103
119
  ...reactRules
104
120
  },
105
121
  settings: {
122
+ ...standard.recommended.settings,
106
123
  ...reactSettings
107
124
  }
108
- }),
109
- typescript({
125
+ },
126
+ {
127
+ ...typescript.recommended,
110
128
  files: [
111
129
  '**/*.{mts,cts}'
112
130
  ],
@@ -115,46 +133,57 @@ export default [
115
133
  'stories'
116
134
  ],
117
135
  languageOptions: {
136
+ ...typescript.recommended.languageOptions,
118
137
  globals: {
138
+ ...typescript.recommended.languageOptions.globals,
119
139
  ...globals.node
120
140
  }
121
141
  }
122
- }),
123
- typescript({
142
+ },
143
+ {
144
+ ...typescript.recommended,
124
145
  files: [
125
146
  'src/**/*.{mts,cts}'
126
147
  ],
127
148
  languageOptions: {
149
+ ...typescript.recommended.languageOptions,
128
150
  globals: {
151
+ ...typescript.recommended.languageOptions.globals,
129
152
  ...globals.browser
130
153
  }
131
154
  }
132
- }),
155
+ },
133
156
  /**
134
157
  * TypeScript config for only `tsx` files
135
158
  */
136
- typescript({
159
+ {
160
+ ...typescript.recommended,
137
161
  files: [
138
162
  'src/**/*.tsx'
139
163
  ],
140
164
  languageOptions: {
165
+ ...typescript.recommended.languageOptions,
141
166
  parser: typescriptParser,
142
167
  parserOptions: {
143
- ...reactParserOptions,
144
- project: 'tsconfig.json'
168
+ ...typescript.recommended.languageOptions.parserOptions,
169
+ ...reactParserOptions
145
170
  },
146
171
  globals: {
172
+ ...typescript.recommended.languageOptions.globals,
147
173
  ...globals.browser
148
174
  }
149
175
  },
150
176
  plugins: {
177
+ ...typescript.recommended.plugins,
151
178
  ...reactPlugins
152
179
  },
153
180
  rules: {
181
+ ...typescript.recommended.rules,
154
182
  ...reactRules
155
183
  },
156
184
  settings: {
185
+ ...typescript.recommended.settings,
157
186
  ...reactSettings
158
187
  }
159
- })
188
+ }
160
189
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-tab-set",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "A React Tab Set component",
5
5
  "main": "./src/index.mjs",
6
6
  "type": "module",
@@ -37,8 +37,8 @@
37
37
  "@babel/preset-react": "^7.26.3",
38
38
  "@babel/preset-typescript": "^7.26.0",
39
39
  "@babel/register": "^7.25.9",
40
- "@sequencemedia/eslint-config-standard": "^0.2.0",
41
- "@sequencemedia/eslint-config-typescript": "^0.1.0",
40
+ "@sequencemedia/eslint-config-standard": "^0.2.1",
41
+ "@sequencemedia/eslint-config-typescript": "^0.1.1",
42
42
  "@storybook/addon-essentials": "7.6.20",
43
43
  "@storybook/react": "7.6.20",
44
44
  "@storybook/react-webpack5": "7.6.20",