assemblyscript-prettier
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,5 @@ | ||
## [2.0.2](https://github.com/HerrCai0907/assemblyscript-prettier/compare/2.0.1...2.0.2) (2023-03-09) | ||
## [2.0.1](https://github.com/HerrCai0907/assemblyscript-prettier/compare/v1.0.7...v2.0.1) (2023-03-07) | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "assemblyscript-prettier", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "prettier for assemblyscript", | ||
@@ -5,0 +5,0 @@ "main": "src/plugin.js", |
# assemblyscript-prettier | ||
prettier for assemblyscript. | ||
prettier plugin for assemblyscript. | ||
This is version 2 and require `prettier@3`(still in alpha stage) | ||
If you want to use `prettier@2`, please see [version 1](https://www.npmjs.com/package/assemblyscript-prettier/v/1.0.7) | ||
## Install | ||
@@ -9,2 +13,3 @@ | ||
npm i -D assemblyscript-prettier | ||
npm i -D prettier@3.0.0-alpha.6 | ||
``` | ||
@@ -14,14 +19,9 @@ | ||
``` | ||
as-prettier [options] <input-file> | ||
add plugin in prettier config. For example `.prettierrc` | ||
Arguments: | ||
input-file format file | ||
Options: | ||
-c, --check Check if the given files are formatted | ||
-w, --write Edit files in-place. (Beware!) | ||
-h, --help display help for command | ||
```json | ||
{ | ||
"pluginSearchDirs": ["node_modules"], | ||
"plugins": ["assemblyscript-prettier"] | ||
} | ||
``` | ||
ignore file name: .asprettierignore |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7448