@wkovacs64/prettier-config 4.1.1 → 4.2.1

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 (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -27,12 +27,18 @@ export default {
27
27
  printWidth: 100,
28
28
  singleQuote: true,
29
29
 
30
- plugins: ['prettier-plugin-tailwindcss'],
30
+ plugins: ['prettier-plugin-astro', 'prettier-plugin-tailwindcss'],
31
31
  tailwindAttributes: ['class', 'className', '.*[cC]lassName'],
32
32
  tailwindFunctions: ['clsx', 'cn'],
33
33
 
34
34
  // workaround for https://github.com/changesets/changesets/issues/774
35
35
  overrides: [
36
+ {
37
+ files: '*.astro',
38
+ options: {
39
+ parser: 'astro',
40
+ },
41
+ },
36
42
  {
37
43
  files: ['*.md', '*.mdx'],
38
44
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wkovacs64/prettier-config",
3
- "version": "4.1.1",
3
+ "version": "4.2.1",
4
4
  "description": "@wKovacs64 Prettier config",
5
5
  "keywords": [
6
6
  "prettier",
@@ -35,7 +35,7 @@
35
35
  "changeset:publish": "changeset publish",
36
36
  "format": "prettier --cache --write .",
37
37
  "format:check": "prettier --cache --check .",
38
- "lint": "eslint ."
38
+ "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint ."
39
39
  },
40
40
  "private": false,
41
41
  "prettier": "./index.js",
@@ -46,15 +46,15 @@
46
46
  "node": ">= 18"
47
47
  },
48
48
  "dependencies": {
49
- "prettier-plugin-tailwindcss": "^0.6.1"
49
+ "prettier-plugin-astro": "^0.14.1",
50
+ "prettier-plugin-tailwindcss": "^0.6.12"
50
51
  },
51
52
  "devDependencies": {
52
- "@changesets/changelog-github": "0.5.0",
53
- "@changesets/cli": "2.27.5",
53
+ "@changesets/changelog-github": "0.5.1",
54
+ "@changesets/cli": "2.29.4",
55
+ "@wkovacs64/eslint-config": "7.7.0",
54
56
  "cross-env": "7.0.3",
55
- "eslint": "8.57.0",
56
- "eslint-plugin-wkovacs64": "16.2.0",
57
- "npm-run-all2": "6.2.0",
58
- "prettier": "3.3.2"
57
+ "eslint": "9.28.0",
58
+ "prettier": "3.5.3"
59
59
  }
60
60
  }