@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 +4 -1
- package/dist/cli.js +6 -6
- package/dist/index.d.ts +790 -72
- package/dist/index.js +160 -27
- package/package.json +27 -27
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
|
|
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.
|
|
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": "^
|
|
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.
|
|
193
|
+
"eslint": "^10.3.0",
|
|
194
194
|
"eslint-plugin-astro": "^1.7.0",
|
|
195
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
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.
|
|
200
|
-
"eslint-plugin-svelte": "^3.17.
|
|
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"
|