@@ -11,8 +11,22 @@ Based on the version of @Antfu, the following sections have been modified:
11
11
12
12
- Update default package name to ` defineConfig `
13
13
- Supplement more ` package.json ` properties ordering rules
14
- - (Plan) Reduce the number of default dependencies
15
- - (Plan) Some of my favorite styles
14
+ - By default, all recommendation rules from unicorn are enabled
15
+ - Grouped ` perfectionist/sort-imports ` ` perfectionist/sort-vue-attributes ` rule
16
+ - Only allow camelCase in variable names
17
+ - JavaScript: allow named function as callback (for error stack trace readability)
18
+ - TypeScript: consistent type assertions (use ` xxx as T ` instead of ` <T>xxx ` )
19
+ - TypeScript: always need to add await before async function call
20
+ - Vue: block order change to [ 'template', 'script', 'style']
21
+ - Vue: don't allow attribute more than 3 in one line
22
+ - Vue: Allow singleline html element
23
+ - JSX: allow multiple element in one line
24
+ - YAML: always add space inner brackets (` [] ` ` {} ` )
25
+ - Test: ignore some type wares rules for tests
26
+ - Test: support optional cypress recommended rules
27
+ - Style: turned off [ ` antfu/if-newline ` ] ( https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md ) , [ ` antfu/consistent-chaining ` ] ( https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md ) rules
28
+ - Style: set linebreak-style to ` unix `
29
+ - Style: avoid escape quotes in statement
16
30
17
31
---
18
32
0 commit comments