@lincy/eslint-config 5.5.2 → 5.6.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 +8 -0
- package/dist/index.cjs +2062 -2537
- package/dist/index.d.cts +9004 -9383
- package/dist/index.d.ts +9004 -9383
- package/dist/index.js +1977 -2436
- package/package.json +42 -42
package/README.md
CHANGED
|
@@ -185,6 +185,12 @@ export default lincy({
|
|
|
185
185
|
* @example 可选: false
|
|
186
186
|
*/
|
|
187
187
|
jsx: true,
|
|
188
|
+
/**
|
|
189
|
+
* 是否启用 pnpm(工作区/目录)支持
|
|
190
|
+
* @default 默认值: false,
|
|
191
|
+
* @example 可选: true
|
|
192
|
+
*/
|
|
193
|
+
pnpm: false,
|
|
188
194
|
/**
|
|
189
195
|
* 是否启用 react 规则
|
|
190
196
|
* @default 默认值: 检测是否安装react依赖,
|
|
@@ -407,6 +413,7 @@ import {
|
|
|
407
413
|
markdown,
|
|
408
414
|
node,
|
|
409
415
|
perfectionist,
|
|
416
|
+
pnpm,
|
|
410
417
|
react,
|
|
411
418
|
regexp,
|
|
412
419
|
sortPackageJson,
|
|
@@ -435,6 +442,7 @@ export default combine(
|
|
|
435
442
|
typescript(/* Options */),
|
|
436
443
|
stylistic(/* Options */),
|
|
437
444
|
vue(),
|
|
445
|
+
pnpm(),
|
|
438
446
|
react(/* Options */),
|
|
439
447
|
unocss(/* Options */),
|
|
440
448
|
jsonc(),
|