@infernodesign/eslint-config 2.4.0 → 2.5.0

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
@@ -611,8 +611,11 @@ export default config( {
611
611
  tailwindcss: {
612
612
  // Enable component class detection
613
613
  detectComponentClasses: true,
614
+ // Resolve Tailwind CSS files from a nested app when linting from a monorepo root
615
+ cwd: 'apps/web',
614
616
  // Specify the entry point for Tailwind CSS
615
- // If not provided, the config will try to find the `global.css` or `globals.css` file in the project.
617
+ // If not provided, the config will try to find a common Tailwind CSS entry point in the project
618
+ // like `global.css`, `globals.css`, `app.css`, `index.css`, or `style.css`.
616
619
  entryPoint: 'src/styles/globals.css',
617
620
  },
618
621
  } )
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  //#region package.json
11
- var version = "2.4.0";
11
+ var version = "2.5.0";
12
12
  //#endregion
13
13
  //#region src/cli/constants.ts
14
14
  const vscodeSettingsString = `
@@ -186,18 +186,18 @@ async function updateEslintFiles(result) {
186
186
  //#endregion
187
187
  //#region src/cli/constants-generated.ts
188
188
  const versionsMap = {
189
- "@eslint-react/eslint-plugin": "^4.2.3",
189
+ "@eslint-react/eslint-plugin": "^5.7.1",
190
190
  "@next/eslint-plugin-next": "^16.2.4",
191
191
  "@unocss/eslint-plugin": "^66.6.8",
192
192
  "astro-eslint-parser": "^1.4.0",
193
- "eslint": "^10.2.1",
193
+ "eslint": "^10.3.0",
194
194
  "eslint-plugin-astro": "^1.7.0",
195
- "eslint-plugin-better-tailwindcss": "^4.4.1",
195
+ "eslint-plugin-better-tailwindcss": "^4.5.0",
196
196
  "eslint-plugin-format": "^2.0.1",
197
197
  "eslint-plugin-react-refresh": "^0.5.2",
198
198
  "eslint-plugin-solid": "^0.14.5",
199
- "eslint-plugin-storybook": "^10.3.5",
200
- "eslint-plugin-svelte": "^3.17.0",
199
+ "eslint-plugin-storybook": "^10.3.6",
200
+ "eslint-plugin-svelte": "^3.17.1",
201
201
  "prettier-plugin-astro": "^0.14.1",
202
202
  "prettier-plugin-slidev": "^1.0.5",
203
203
  "svelte-eslint-parser": "^1.6.0"