-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lint): check files are formatted
- Loading branch information
1 parent
6cd7960
commit eda4dbb
Showing
14 changed files
with
231 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: lintFormatting | ||
--- | ||
|
||
When using `syncpack lint`, enables checking the formatting of `package.json` files matches the output of `syncpack format`. | ||
|
||
## Default value | ||
|
||
```json title=".syncpackrc" | ||
{ | ||
"lintFormatting": true | ||
} | ||
``` | ||
|
||
:::note | ||
|
||
There is no equivalent CLI Option for this configuration. | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: lintSemverRanges | ||
--- | ||
|
||
When using `syncpack lint`, enables checking that all the semver ranges in your `package.json` files are valid. | ||
|
||
## Default value | ||
|
||
```json title=".syncpackrc" | ||
{ | ||
"lintSemverRanges": true | ||
} | ||
``` | ||
|
||
:::note | ||
|
||
There is no equivalent CLI Option for this configuration. | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: lintVersions | ||
--- | ||
|
||
When using `syncpack lint`, enables checking that all versions are valid. | ||
|
||
## Default value | ||
|
||
```json title=".syncpackrc" | ||
{ | ||
"lintVersions": true | ||
} | ||
``` | ||
|
||
:::note | ||
|
||
There is no equivalent CLI Option for this configuration. | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.