Skip to content

Commit f4ac339

Browse files
committed
refactor!: use @vue/create-eslint-config for ESLint config generation
Airbnb & Standard options are not added yet. The difference with the previous implementation is that we now use `@vue/eslint-config-typescript` instead of `@vue/eslint-config-typescript/recommended`, because I'm not very satisfied with the current implementation of the latter config. There are some edge cases that may confuse users. I need to find time to refactor that package in the coming months.
1 parent 2f2b040 commit f4ac339

File tree

5 files changed

+2181
-80
lines changed

5 files changed

+2181
-80
lines changed

LICENSE

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,64 @@ MIT
3131

3232
## Bundled dependencies
3333

34+
## @vue/create-eslint-config
35+
36+
License: MIT
37+
By: Haoqun Jiang
38+
Repository: git+https://github.com/vuejs/create-eslint-config.git
39+
40+
> MIT License
41+
>
42+
> Copyright (c) 2022 vuejs
43+
>
44+
> Permission is hereby granted, free of charge, to any person obtaining a copy
45+
> of this software and associated documentation files (the "Software"), to deal
46+
> in the Software without restriction, including without limitation the rights
47+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48+
> copies of the Software, and to permit persons to whom the Software is
49+
> furnished to do so, subject to the following conditions:
50+
>
51+
> The above copyright notice and this permission notice shall be included in all
52+
> copies or substantial portions of the Software.
53+
>
54+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60+
> SOFTWARE.
61+
>
62+
63+
## javascript-stringify
64+
65+
License: MIT
66+
By: Blake Embrey
67+
Repository: git+https://github.com/blakeembrey/javascript-stringify.git
68+
69+
> The MIT License (MIT)
70+
>
71+
> Copyright (c) 2013 Blake Embrey (hello@blakeembrey.com)
72+
>
73+
> Permission is hereby granted, free of charge, to any person obtaining a copy
74+
> of this software and associated documentation files (the "Software"), to deal
75+
> in the Software without restriction, including without limitation the rights
76+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77+
> copies of the Software, and to permit persons to whom the Software is
78+
> furnished to do so, subject to the following conditions:
79+
>
80+
> The above copyright notice and this permission notice shall be included in
81+
> all copies or substantial portions of the Software.
82+
>
83+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
89+
> THE SOFTWARE.
90+
>
91+
3492
## kleur
3593

3694
License: MIT

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"devDependencies": {
3737
"@types/eslint": "^8.4.6",
3838
"@types/prompts": "^2.0.14",
39+
"@vue/create-eslint-config": "^0.1.2",
3940
"@vue/tsconfig": "^0.1.3",
4041
"esbuild": "^0.14.53",
4142
"esbuild-plugin-license": "^1.2.2",

0 commit comments

Comments
 (0)