1
1
# @coderwyd/eslint-config
2
2
3
+ ## Feature
4
+
3
5
- Single quotes, no semi
4
6
- Auto fix for formatting (aimed to be used standalone ** without** Prettier)
5
7
- Designed to work with TypeScript, Vue out-of-box
6
8
- Lint also for json, yaml, markdown
7
9
- Sorted imports, dangling commas
8
10
- Reasonable defaults, best practices, only one-line of config
9
- - ** Style principle** : Minimal for reading, stable for diff
10
11
11
12
## Usage
12
13
@@ -41,8 +42,6 @@ For example:
41
42
42
43
### VS Code support (auto fix)
43
44
44
- Install [ VS Code ESLint extension] ( https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint )
45
-
46
45
Add the following settings to your ` settings.json ` :
47
46
48
47
``` jsonc
@@ -97,15 +96,11 @@ and then
97
96
npm i -D lint-staged simple-git-hooks
98
97
```
99
98
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
-
104
99
## FAQ
105
100
106
- ### I prefer XXX...
101
+ ### Customization rules
107
102
108
- Sure, you can override the rules in your ` .eslintrc ` file.
103
+ add you like rules to your .eslintrc file.
109
104
110
105
<!-- eslint-skip -->
111
106
@@ -118,7 +113,9 @@ Sure, you can override the rules in your `.eslintrc` file.
118
113
}
119
114
```
120
115
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 )
122
119
123
120
## License
124
121
0 commit comments