@lobehub/lint 1.0.1 → 1.1.0
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/README.md +33 -22
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -34,7 +34,8 @@ ESlint config, Prettier config, Remark config for LobeHub
|
|
|
34
34
|
|
|
35
35
|
- [🤯 Usage](#-usage)
|
|
36
36
|
|
|
37
|
-
- [
|
|
37
|
+
- [.npmrc](#npmrc)
|
|
38
|
+
- [ESlint](#eslint)
|
|
38
39
|
- [Stylelint](#stylelint)
|
|
39
40
|
- [Commitlint](#commitlint)
|
|
40
41
|
- [Changelog](#changelog)
|
|
@@ -66,7 +67,20 @@ pnpm add @lobehub/lint -D
|
|
|
66
67
|
|
|
67
68
|
## 🤯 Usage
|
|
68
69
|
|
|
69
|
-
###
|
|
70
|
+
### .npmrc
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
public-hoist-pattern[]=*@umijs/lint*
|
|
74
|
+
public-hoist-pattern[]=*remark*
|
|
75
|
+
public-hoist-pattern[]=*eslint*
|
|
76
|
+
public-hoist-pattern[]=*stylelint*
|
|
77
|
+
public-hoist-pattern[]=*prettier*
|
|
78
|
+
public-hoist-pattern[]=*commitlint*
|
|
79
|
+
public-hoist-pattern[]=*postcss*
|
|
80
|
+
public-hoist-pattern[]=*semantic-release*
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### ESlint
|
|
70
84
|
|
|
71
85
|
config can be found at `./src/eslint/index.ts`
|
|
72
86
|
|
|
@@ -151,7 +165,7 @@ You can use Gitpod for online development:
|
|
|
151
165
|
Or clone it for local development:
|
|
152
166
|
|
|
153
167
|
```bash
|
|
154
|
-
$ git clone https://github.com/lobehub/lint.git
|
|
168
|
+
$ git clone https://github.com/lobehub/lobe-lint.git
|
|
155
169
|
$ cd lobehub/lint
|
|
156
170
|
$ npm install
|
|
157
171
|
$ npm start
|
|
@@ -167,7 +181,7 @@ $ npm start
|
|
|
167
181
|
|
|
168
182
|
<!-- CONTRIBUTION GROUP -->
|
|
169
183
|
|
|
170
|
-
> 📊 Total: <kbd>**
|
|
184
|
+
> 📊 Total: <kbd>**2**</kbd>
|
|
171
185
|
|
|
172
186
|
<a href="https://github.com/canisminor1990" title="canisminor1990">
|
|
173
187
|
<img src="https://avatars.githubusercontent.com/u/17870709?v=4" width="50" />
|
|
@@ -175,9 +189,6 @@ $ npm start
|
|
|
175
189
|
<a href="https://github.com/actions-user" title="actions-user">
|
|
176
190
|
<img src="https://avatars.githubusercontent.com/u/65916846?v=4" width="50" />
|
|
177
191
|
</a>
|
|
178
|
-
<a href="https://github.com/apps/dependabot" title="dependabot[bot]">
|
|
179
|
-
<img src="https://avatars.githubusercontent.com/in/29110?v=4" width="50" />
|
|
180
|
-
</a>
|
|
181
192
|
|
|
182
193
|
<!-- CONTRIBUTION END -->
|
|
183
194
|
|
|
@@ -197,7 +208,7 @@ This project is [MIT](./LICENSE) licensed.
|
|
|
197
208
|
<!-- LINK GROUP -->
|
|
198
209
|
|
|
199
210
|
[profile-url]: https://github.com/canisminor1990
|
|
200
|
-
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lint
|
|
211
|
+
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-lint
|
|
201
212
|
|
|
202
213
|
<!-- SHIELD LINK GROUP -->
|
|
203
214
|
|
|
@@ -210,35 +221,35 @@ This project is [MIT](./LICENSE) licensed.
|
|
|
210
221
|
|
|
211
222
|
<!-- releaseDate -->
|
|
212
223
|
|
|
213
|
-
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lint?style=flat
|
|
214
|
-
[release-date-url]: https://github.com/lobehub/lint/releases
|
|
224
|
+
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-lint?style=flat
|
|
225
|
+
[release-date-url]: https://github.com/lobehub/lobe-lint/releases
|
|
215
226
|
|
|
216
227
|
<!-- ciTest -->
|
|
217
228
|
|
|
218
|
-
[ci-test-shield]: https://github.com/lobehub/lint/workflows/Test%20CI/badge.svg
|
|
219
|
-
[ci-test-url]: https://github.com/lobehub/lint/actions/workflows/test.yml
|
|
229
|
+
[ci-test-shield]: https://github.com/lobehub/lobe-lint/workflows/Test%20CI/badge.svg
|
|
230
|
+
[ci-test-url]: https://github.com/lobehub/lobe-lint/actions/workflows/test.yml
|
|
220
231
|
|
|
221
232
|
<!-- ciRelease -->
|
|
222
233
|
|
|
223
|
-
[ci-release-shield]: https://github.com/lobehub/lint/workflows/Build%20and%20Release/badge.svg
|
|
224
|
-
[ci-release-url]: https://github.com/lobehub/lint/actions/workflows/release.yml
|
|
234
|
+
[ci-release-shield]: https://github.com/lobehub/lobe-lint/workflows/Build%20and%20Release/badge.svg
|
|
235
|
+
[ci-release-url]: https://github.com/lobehub/lobe-lint/actions/workflows/release.yml
|
|
225
236
|
|
|
226
237
|
<!-- contributors -->
|
|
227
238
|
|
|
228
|
-
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lint.svg?style=flat
|
|
229
|
-
[contributors-url]: https://github.com/lobehub/lint/graphs/contributors
|
|
239
|
+
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-lint.svg?style=flat
|
|
240
|
+
[contributors-url]: https://github.com/lobehub/lobe-lint/graphs/contributors
|
|
230
241
|
|
|
231
242
|
<!-- forks -->
|
|
232
243
|
|
|
233
|
-
[forks-shield]: https://img.shields.io/github/forks/lobehub/lint.svg?style=flat
|
|
234
|
-
[forks-url]: https://github.com/lobehub/lint/network/members
|
|
244
|
+
[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-lint.svg?style=flat
|
|
245
|
+
[forks-url]: https://github.com/lobehub/lobe-lint/network/members
|
|
235
246
|
|
|
236
247
|
<!-- stargazers -->
|
|
237
248
|
|
|
238
|
-
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lint.svg?style=flat
|
|
239
|
-
[stargazers-url]: https://github.com/lobehub/lint/stargazers
|
|
249
|
+
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-lint.svg?style=flat
|
|
250
|
+
[stargazers-url]: https://github.com/lobehub/lobe-lint/stargazers
|
|
240
251
|
|
|
241
252
|
<!-- issues -->
|
|
242
253
|
|
|
243
|
-
[issues-shield]: https://img.shields.io/github/issues/lobehub/lint.svg?style=flat
|
|
244
|
-
[issues-url]: https://github.com/lobehub/lint/issues/new/choose
|
|
254
|
+
[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-lint.svg?style=flat
|
|
255
|
+
[issues-url]: https://github.com/lobehub/lobe-lint/issues/new/choose
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lint",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"homepage": "https://github.com/lobehub/lint",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"homepage": "https://github.com/lobehub/lobe-lint",
|
|
5
5
|
"bugs": {
|
|
6
|
-
"url": "https://github.com/lobehub/lint/issues/new"
|
|
6
|
+
"url": "https://github.com/lobehub/lobe-lint/issues/new"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/lobehub/lint.git"
|
|
10
|
+
"url": "https://github.com/lobehub/lobe-lint.git"
|
|
11
11
|
},
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "canisminor1990 <i@canisminor.cc>",
|