@esmate/prettier 1.0.4 → 1.0.5

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.
Files changed (3) hide show
  1. package/LICENSE +16 -0
  2. package/README.md +4 -3
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Vien Dinh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6
+ documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
7
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
8
+ persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
11
+ Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
14
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -8,7 +8,8 @@ Prettier configuration for humans with support for React, Vue, Svelte, Astro, Ta
8
8
  npm install -D @esmate/prettier prettier
9
9
  ```
10
10
 
11
- If you are using [ESMate CLI](https://www.npmjs.com/package/esmate), it's built-in, so only need to install `prettier`.
11
+ Check out [ESMate CLI](https://www.npmjs.com/package/esmate) for better integration with
12
+ [ESLint](https://github.com/VienDinhCom/esmate/tree/main/packages/eslint)
12
13
 
13
14
  ## Usage
14
15
 
@@ -19,8 +20,8 @@ Define your Prettier configuration in a `prettier.config.js` file:
19
20
  import { defineConfig } from "@esmate/prettier";
20
21
 
21
22
  export default defineConfig({
22
- // astro: true
23
- // svelte: true
23
+ // astro: true,
24
+ // svelte: true,
24
25
 
25
26
  tailwind: {
26
27
  tailwindFunctions: ["cn"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esmate/prettier",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "description": "Prettier configuration for humans.",
6
6
  "license": "MIT",
7
7
  "repository": {