@frefly/eslint-config 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +0 -6
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -22,12 +22,6 @@ export default createConfig({
22
22
  })
23
23
  ```
24
24
 
25
- 也可以直接使用默认导出的配置:
26
-
27
- ```js
28
- export { default } from '@frefly/eslint-config'
29
- ```
30
-
31
25
  ### 步骤二:添加 lint 脚本
32
26
 
33
27
  在 `package.json` 中添加:
package/index.js CHANGED
@@ -1,9 +1,9 @@
1
+ import prettier from 'eslint-config-prettier'
1
2
  import importSort from 'eslint-plugin-simple-import-sort'
2
3
  import pluginVue from 'eslint-plugin-vue'
3
4
  import globals from 'globals'
4
5
 
5
6
  import js from '@eslint/js'
6
- import prettier from 'eslint-config-prettier'
7
7
 
8
8
  const uniappGlobals = {
9
9
  uni: 'readonly',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frefly/eslint-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "前端 ESLint 共享配置",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "MIT",
27
27
  "engines": {
28
- "node": ">=22.22.1"
28
+ "node": ">=24"
29
29
  },
30
30
  "scripts": {
31
31
  "release": "pnpm publish --no-git-checks"