@lincy/eslint-config 5.0.0 → 5.1.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 +1 -2
- package/dist/index.cjs +731 -687
- package/dist/index.d.cts +461 -160
- package/dist/index.d.ts +461 -160
- package/dist/index.js +746 -704
- package/package.json +20 -21
package/README.md
CHANGED
|
@@ -267,8 +267,6 @@ export default lincy({
|
|
|
267
267
|
},
|
|
268
268
|
|
|
269
269
|
// 工厂函数第一个参数默认为各规则的开关, 但是也可以作为追加规则使用, 当包含以下键名将会自动整合到一个规则里
|
|
270
|
-
files: [],
|
|
271
|
-
ignores: [],
|
|
272
270
|
languageOptions: {},
|
|
273
271
|
linterOptions: {},
|
|
274
272
|
processor: {},
|
|
@@ -284,6 +282,7 @@ export default lincy({
|
|
|
284
282
|
```js
|
|
285
283
|
// eslint.config.js
|
|
286
284
|
import { readFile } from 'node:fs/promises'
|
|
285
|
+
|
|
287
286
|
import lincy from '@lincy/eslint-config'
|
|
288
287
|
import plugin from '@unocss/eslint-plugin'
|
|
289
288
|
|