@fullstacksjs/eslint-config 11.1.16 → 11.1.17

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/README.md CHANGED
@@ -140,8 +140,8 @@ v10 drops support for ESLint v8 configuration and only ESLint v9 is supported, w
140
140
  - // your configuration
141
141
  -});
142
142
  +export default init({
143
- + esm: true,
144
- + typescript true,
143
+ + esm: true,
144
+ + typescript: true,
145
145
  + },
146
146
  + // your configuration
147
147
  +);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "11.1.16",
3
+ "version": "11.1.17",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -1,8 +1,11 @@
1
1
  /** @return { Promise<import('eslint').Linter.Config> } */
2
- async function tailwind() {
3
- const plugin = await import('eslint-plugin-tailwindcss');
2
+ function tailwind() {
4
3
  return {
5
- plugins: { tailwindcss: plugin },
4
+ plugins: {
5
+ get tailwindcss() {
6
+ return import('eslint-plugin-tailwindcss');
7
+ },
8
+ },
6
9
  rules: {
7
10
  'tailwindcss/classnames-order': 'warn',
8
11
  'tailwindcss/enforces-negative-arbitrary-values': 'warn',