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