react-tab-set 2.1.3 → 2.1.4

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 +13 -2
  2. package/package.json +3 -3
package/eslint.config.mjs CHANGED
@@ -43,6 +43,9 @@ const reactSettings = {
43
43
  }
44
44
 
45
45
  export default [
46
+ /**
47
+ * React config for all `jsx` and `tsx` files
48
+ */
46
49
  {
47
50
  files: [
48
51
  '**/*.tsx',
@@ -74,9 +77,13 @@ export default [
74
77
  }
75
78
  }
76
79
  }),
80
+ /**
81
+ * Standard config for all `jsx` and `tsx` files
82
+ */
77
83
  ...standard({
78
84
  files: [
79
- 'stories/**/*.jsx'
85
+ '**/*.tsx',
86
+ '**/*.jsx'
80
87
  ],
81
88
  plugins: {
82
89
  react: reactPlugin
@@ -102,7 +109,8 @@ export default [
102
109
  '**/*.{mts,cts}'
103
110
  ],
104
111
  ignores: [
105
- 'src'
112
+ 'src',
113
+ 'stories'
106
114
  ],
107
115
  languageOptions: {
108
116
  globals: {
@@ -120,6 +128,9 @@ export default [
120
128
  }
121
129
  }
122
130
  }),
131
+ /**
132
+ * TypeScript config for only `tsx` files
133
+ */
123
134
  ...typescript({
124
135
  files: [
125
136
  'src/**/*.tsx'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-tab-set",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
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.1.6",
41
- "@sequencemedia/eslint-config-typescript": "^0.0.5",
40
+ "@sequencemedia/eslint-config-standard": "^0.1.7",
41
+ "@sequencemedia/eslint-config-typescript": "^0.0.6",
42
42
  "@storybook/addon-essentials": "7.6.20",
43
43
  "@storybook/react": "7.6.20",
44
44
  "@storybook/react-webpack5": "7.6.20",