@tofrankie/eslint 0.0.16 → 0.0.18

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## eslint@0.0.18 (2026-04-04)
4
+
5
+ - Update documentation
6
+
7
+ ## eslint@0.0.17 (2026-03-29)
8
+
9
+ - Add `@tofrankie/tsconfig` to `devDependencies`
10
+
3
11
  ## eslint@0.0.16 (2026-03-24)
4
12
 
5
13
  - Add `unicorn/number-literal-case` rule
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023-PRESENT Tom Gao<tom@tomgao.cc>
3
+ Copyright (c) 2026 Frankie
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -2,13 +2,15 @@
2
2
 
3
3
  ![npm version](https://img.shields.io/npm/v/@tofrankie/eslint) ![node version](https://img.shields.io/node/v/@tofrankie/eslint) ![npm package license](https://img.shields.io/npm/l/@tofrankie/eslint) ![npm last update](https://img.shields.io/npm/last-update/@tofrankie/eslint)
4
4
 
5
- A shared ESLint configuration based on [@antfu/eslint-config](https://github.com/antfu/eslint-config), with preset rules tailored to personal preferences.
5
+ A shared ESLint configuration built on [@antfu/eslint-config](https://github.com/antfu/eslint-config), with opinionated presets.
6
6
 
7
7
  > [!IMPORTANT]
8
- > Rule presets are not yet stable and may change.
8
+ > Before 1.0.0, releases may include breaking changes. Read the [CHANGELOG](CHANGELOG.md) before upgrading.
9
9
 
10
10
  ## Quick Start
11
11
 
12
+ Install dependencies:
13
+
12
14
  ```bash
13
15
  $ pnpm add eslint @tofrankie/eslint -D
14
16
  ```
@@ -21,14 +23,14 @@ import { defineConfig } from '@tofrankie/eslint'
21
23
  export default defineConfig()
22
24
  ```
23
25
 
24
- 更多自定义
26
+ **Customization:** [antfu/eslint-config](https://github.com/antfu/eslint-config#customization)
25
27
 
26
28
  ```js
27
29
  import { defineConfig } from '@tofrankie/eslint'
28
30
 
29
31
  export default defineConfig(
30
32
  {
31
- // antfu options... see: https://github.com/antfu/eslint-config#customization
33
+ // antfu options...
32
34
  ignores: ['node_modules', 'dist'],
33
35
  typescript: true,
34
36
  react: true,
@@ -43,9 +45,9 @@ export default defineConfig(
43
45
  )
44
46
  ```
45
47
 
46
- ## Configuration Examples
48
+ ## Examples
47
49
 
48
- ### Miniapp
50
+ ### Native Miniprogram
49
51
 
50
52
  ```js
51
53
  import { defineConfig } from '@tofrankie/eslint'
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tofrankie/eslint",
3
3
  "type": "module",
4
- "version": "0.0.16",
5
- "description": "Shared ESLint configuration",
4
+ "version": "0.0.18",
5
+ "description": "A shared ESLint configuration",
6
6
  "author": "Frankie <1426203851@qq.com>",
7
7
  "license": "MIT",
8
8
  "homepage": "https://github.com/tofrankie/config/tree/main/packages/eslint",
@@ -14,9 +14,13 @@
14
14
  "bugs": "https://github.com/tofrankie/config/issues",
15
15
  "keywords": [
16
16
  "eslint",
17
- "eslintconfig",
18
17
  "eslint-config",
18
+ "eslint-flat-config",
19
+ "eslintconfig",
19
20
  "lint",
21
+ "react",
22
+ "typescript",
23
+ "vue",
20
24
  "tofrankie"
21
25
  ],
22
26
  "exports": {
@@ -58,7 +62,8 @@
58
62
  },
59
63
  "devDependencies": {
60
64
  "@types/lodash.merge": "^4.6.9",
61
- "eslint": "^9.39.4"
65
+ "eslint": "^9.39.4",
66
+ "@tofrankie/tsconfig": "0.0.5"
62
67
  },
63
68
  "scripts": {
64
69
  "dev": "tsdown --watch",