Skip to content

Commit dc6bffc

Browse files
committed
chore: update deps
1 parent fd16abe commit dc6bffc

File tree

10 files changed

+2957
-2175
lines changed

10 files changed

+2957
-2175
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"cSpell.words": ["bumpp", "coderwyd"]
2+
"cSpell.words": ["bumpp", "coderwyd", "taze"]
33
}

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# @coderwyd/eslint-config
22

3+
## Feature
4+
35
- Single quotes, no semi
46
- Auto fix for formatting (aimed to be used standalone **without** Prettier)
57
- Designed to work with TypeScript, Vue out-of-box
68
- Lint also for json, yaml, markdown
79
- Sorted imports, dangling commas
810
- Reasonable defaults, best practices, only one-line of config
9-
- **Style principle**: Minimal for reading, stable for diff
1011

1112
## Usage
1213

@@ -41,8 +42,6 @@ For example:
4142

4243
### VS Code support (auto fix)
4344

44-
Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
45-
4645
Add the following settings to your `settings.json`:
4746

4847
```jsonc
@@ -97,15 +96,11 @@ and then
9796
npm i -D lint-staged simple-git-hooks
9897
```
9998

100-
## Badge
101-
102-
If you enjoy this code style, and would like to mention it in your project, here is the badge you can use:
103-
10499
## FAQ
105100

106-
### I prefer XXX...
101+
### Customization rules
107102

108-
Sure, you can override the rules in your `.eslintrc` file.
103+
add you like rules to your .eslintrc file.
109104

110105
<!-- eslint-skip -->
111106

@@ -118,7 +113,9 @@ Sure, you can override the rules in your `.eslintrc` file.
118113
}
119114
```
120115

121-
Or you can always fork this repo and make your own.
116+
## Thanks
117+
118+
This project is based on [@antfu/eslint-config](https://github.com/antfu/eslint-config)
122119

123120
## License
124121

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22
"name": "@coderwyd/eslint-config-monorepo",
33
"version": "1.0.0",
44
"private": true,
5-
"packageManager": "pnpm@8.6.7",
5+
"packageManager": "pnpm@8.6.11",
66
"author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
77
"license": "MIT",
88
"scripts": {
99
"lint": "pnpm -r run stub && eslint .",
1010
"test": "pnpm -r run test",
1111
"build": "pnpm -r run build",
1212
"prepare": "pnpm -r run stub",
13-
"release": "bumpp -r && pnpm -r publish"
13+
"release": "bumpp -r && pnpm -r publish",
14+
"up": "taze major -r -I"
1415
},
1516
"devDependencies": {
1617
"@coderwyd/eslint-config": "workspace:*",
1718
"bumpp": "^9.1.1",
18-
"eslint": "^8.45.0",
19+
"eslint": "^8.46.0",
1920
"eslint-plugin-coderwyd": "link:./packages/eslint-plugin-coderwyd",
2021
"rimraf": "^5.0.1",
22+
"taze": "^0.11.2",
2123
"typescript": "^5.1.6"
2224
}
2325
}

packages/eslint-config-basic/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
"eslint-plugin-coderwyd": "workspace:*",
2323
"eslint-plugin-eslint-comments": "^3.2.0",
2424
"eslint-plugin-html": "^7.1.0",
25-
"eslint-plugin-import": "npm:eslint-plugin-i@2.27.5-4",
25+
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0",
2626
"eslint-plugin-jsonc": "^2.9.0",
27-
"eslint-plugin-markdown": "^3.0.0",
27+
"eslint-plugin-markdown": "^3.0.1",
2828
"eslint-plugin-n": "^16.0.1",
2929
"eslint-plugin-no-only-tests": "^3.1.0",
3030
"eslint-plugin-promise": "^6.1.1",
31-
"eslint-plugin-unicorn": "^48.0.0",
31+
"eslint-plugin-unicorn": "^48.0.1",
3232
"eslint-plugin-unused-imports": "^3.0.0",
3333
"eslint-plugin-yml": "^1.8.0",
3434
"jsonc-eslint-parser": "^2.3.0",
3535
"yaml-eslint-parser": "^1.2.2"
3636
},
3737
"devDependencies": {
38-
"eslint": "^8.45.0"
38+
"eslint": "^8.46.0"
3939
}
4040
}

packages/eslint-config-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
},
2121
"dependencies": {
2222
"@coderwyd/eslint-config-ts": "workspace:*",
23-
"eslint-plugin-react": "^7.32.2",
23+
"eslint-plugin-react": "^7.33.1",
2424
"eslint-plugin-react-hooks": "^4.6.0"
2525
},
2626
"devDependencies": {
27-
"eslint": "^8.45.0",
27+
"eslint": "^8.46.0",
2828
"react": "^18.2.0",
2929
"typescript": "^5.1.6"
3030
}

packages/eslint-config-ts/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
},
1919
"dependencies": {
2020
"@coderwyd/eslint-config-basic": "workspace:*",
21-
"@typescript-eslint/eslint-plugin": "^6.0.0",
22-
"@typescript-eslint/parser": "^6.0.0",
21+
"@typescript-eslint/eslint-plugin": "^6.2.1",
22+
"@typescript-eslint/parser": "^6.2.1",
2323
"eslint-plugin-jest": "^27.2.3"
2424
},
2525
"devDependencies": {
26-
"eslint": "^8.45.0"
26+
"eslint": "^8.46.0"
2727
}
2828
}

packages/eslint-config-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"dependencies": {
1818
"@coderwyd/eslint-config-basic": "workspace:*",
1919
"@coderwyd/eslint-config-ts": "workspace:*",
20-
"eslint-plugin-vue": "^9.15.1",
20+
"eslint-plugin-vue": "^9.16.1",
2121
"local-pkg": "^0.4.3"
2222
},
2323
"devDependencies": {
24-
"eslint": "^8.45.0"
24+
"eslint": "^8.46.0"
2525
}
2626
}

packages/eslint-config/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
},
1818
"dependencies": {
1919
"@coderwyd/eslint-config-vue": "workspace:*",
20-
"@typescript-eslint/eslint-plugin": "^6.0.0",
21-
"@typescript-eslint/parser": "^6.0.0",
20+
"@typescript-eslint/eslint-plugin": "^6.2.1",
21+
"@typescript-eslint/parser": "^6.2.1",
2222
"eslint-plugin-eslint-comments": "^3.2.0",
2323
"eslint-plugin-html": "^7.1.0",
24-
"eslint-plugin-import": "npm:eslint-plugin-i@2.27.5-4",
24+
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0",
2525
"eslint-plugin-jsonc": "^2.9.0",
2626
"eslint-plugin-n": "^16.0.1",
2727
"eslint-plugin-promise": "^6.1.1",
28-
"eslint-plugin-unicorn": "^48.0.0",
29-
"eslint-plugin-vue": "^9.15.1",
28+
"eslint-plugin-unicorn": "^48.0.1",
29+
"eslint-plugin-vue": "^9.16.1",
3030
"eslint-plugin-yml": "^1.8.0",
3131
"jsonc-eslint-parser": "^2.3.0",
3232
"yaml-eslint-parser": "^1.2.2"
3333
},
3434
"devDependencies": {
35-
"eslint": "^8.45.0"
35+
"eslint": "^8.46.0"
3636
}
3737
}

packages/eslint-plugin-coderwyd/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"prepublishOnly": "nr build"
1818
},
1919
"dependencies": {
20-
"@typescript-eslint/utils": "^6.0.0"
20+
"@typescript-eslint/utils": "^6.2.1"
2121
},
2222
"devDependencies": {
23-
"@types/node": "^20.4.2",
23+
"@types/node": "^20.4.5",
2424
"unbuild": "^1.2.1",
25-
"vitest": "^0.33.0"
25+
"vitest": "^0.34.1"
2626
}
2727
}

0 commit comments

Comments
 (0)