@will-stone/eslint-config 0.2.0 → 0.2.1
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/CHANGELOG.md +6 -0
- package/eslint-config.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/eslint-config.js
CHANGED
|
@@ -153,15 +153,20 @@ export default [
|
|
|
153
153
|
'jsx-a11y': jsxA11yPlugin,
|
|
154
154
|
'react': reactPlugin,
|
|
155
155
|
'react-hooks': reactHooksPlugin,
|
|
156
|
-
...(isTailwind && { tailwindcss: tailwindPlugin }),
|
|
157
156
|
},
|
|
158
157
|
rules: {
|
|
159
158
|
...jsxA11yRules,
|
|
160
159
|
...reactRules,
|
|
161
|
-
...(isTailwind && tailwindRules),
|
|
162
160
|
},
|
|
163
161
|
},
|
|
164
162
|
|
|
163
|
+
// Tailwind
|
|
164
|
+
{
|
|
165
|
+
files: ['**/*.{jsx,tsx,astro}'],
|
|
166
|
+
plugins: isTailwind && { tailwindcss: tailwindPlugin },
|
|
167
|
+
rules: isTailwind && tailwindRules,
|
|
168
|
+
},
|
|
169
|
+
|
|
165
170
|
// Jest
|
|
166
171
|
...(testingFramework === 'jest'
|
|
167
172
|
? [
|