@infernodesign/eslint-config 1.8.0 → 1.9.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/README.md +4 -1
- package/dist/cli.js +7 -8
- package/dist/index.d.ts +182 -144
- package/dist/index.js +224 -32
- package/package.json +25 -25
package/README.md
CHANGED
|
@@ -171,7 +171,7 @@ And that's it! Or you can configure each integration individually, for example:
|
|
|
171
171
|
import { inferno } from '@infernodesign/eslint-config'
|
|
172
172
|
|
|
173
173
|
export default inferno( {
|
|
174
|
-
// Type of the project. 'lib' for libraries, the default is 'app'
|
|
174
|
+
// Type of the project. 'lib' for libraries, the default is 'app'
|
|
175
175
|
type: 'lib',
|
|
176
176
|
|
|
177
177
|
// Enable stylistic formatting rules
|
|
@@ -193,6 +193,9 @@ export default inferno( {
|
|
|
193
193
|
// Enable Storybook
|
|
194
194
|
storybook: true,
|
|
195
195
|
|
|
196
|
+
// Enable JSDoc comment enforcement
|
|
197
|
+
jsdoc: true,
|
|
198
|
+
|
|
196
199
|
// Disable jsonc and yaml support
|
|
197
200
|
jsonc: false,
|
|
198
201
|
yaml: false,
|
package/dist/cli.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import process from "node:process";
|
|
2
1
|
import * as p from "@clack/prompts";
|
|
3
2
|
import c, { green } from "ansis";
|
|
4
3
|
import { cac } from "cac";
|
|
@@ -9,7 +8,7 @@ import parse from "parse-gitignore";
|
|
|
9
8
|
import { execSync } from "node:child_process";
|
|
10
9
|
|
|
11
10
|
//#region package.json
|
|
12
|
-
var version = "1.
|
|
11
|
+
var version = "1.9.1";
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
15
14
|
//#region src/cli/constants.ts
|
|
@@ -172,17 +171,17 @@ async function updateEslintFiles(result) {
|
|
|
172
171
|
//#endregion
|
|
173
172
|
//#region src/cli/constants-generated.ts
|
|
174
173
|
const versionsMap = {
|
|
175
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
176
|
-
"@next/eslint-plugin-next": "^16.0.
|
|
174
|
+
"@eslint-react/eslint-plugin": "^2.3.1",
|
|
175
|
+
"@next/eslint-plugin-next": "^16.0.1",
|
|
177
176
|
"@unocss/eslint-plugin": "^66.5.4",
|
|
178
177
|
"astro-eslint-parser": "^1.2.2",
|
|
179
|
-
"eslint": "^9.
|
|
180
|
-
"eslint-plugin-astro": "^1.
|
|
178
|
+
"eslint": "^9.39.1",
|
|
179
|
+
"eslint-plugin-astro": "^1.4.0",
|
|
181
180
|
"eslint-plugin-format": "^1.0.2",
|
|
182
|
-
"eslint-plugin-react-hooks": "^7.0.
|
|
181
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
183
182
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
184
183
|
"eslint-plugin-solid": "^0.14.5",
|
|
185
|
-
"eslint-plugin-svelte": "^3.
|
|
184
|
+
"eslint-plugin-svelte": "^3.13.0",
|
|
186
185
|
"prettier-plugin-astro": "^0.14.1",
|
|
187
186
|
"prettier-plugin-slidev": "^1.0.5",
|
|
188
187
|
"svelte-eslint-parser": "^1.4.0"
|