Skip to content

Commit b039805

Browse files
committed
chore(deps): update prettier to 3.8.1
chore: update prettier config chore: remove eslint-plugin-prettier Apply prettier config from https://github.com/SunsetTechuila/is-bun-module/blob/2c1a618f2068010a69276c90dba9b663de5bccf5/.prettierrc.json.
1 parent 4da6dd2 commit b039805

3 files changed

Lines changed: 12 additions & 99 deletions

File tree

.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 100,
3+
"quoteProps": "consistent"
4+
}

package-lock.json

Lines changed: 4 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -118,23 +118,23 @@
118118
"@typescript-eslint/eslint-plugin": "^8.34.0",
119119
"@typescript-eslint/parser": "^8.34.0",
120120
"@vscode/test-electron": "^2.5.2",
121+
"@vscode/vsce": "^3.5.0",
121122
"eslint": "^8.57.1",
122123
"eslint-config-prettier": "^10.1.5",
123124
"eslint-config-xo": "^0.45.0",
124-
"eslint-plugin-prettier": "^5.4.1",
125125
"glob": "^11.0.2",
126126
"mocha": "^11.6.0",
127-
"prettier": "^3.5.3",
127+
"prettier": "^3.8.1",
128128
"rimraf": "^6.0.1",
129129
"typescript": "~5.8.3",
130-
"@vscode/vsce": "^3.5.0",
131130
"vscode-test-utils": "^1.0.0"
132131
},
133132
"scripts": {
134133
"clean": "rimraf out",
135134
"prebuild": "npm run clean",
136135
"build": "tsc",
137136
"postbuild": "cp -r src/test/suite/fixtures out/test/suite && cp -r src/test/untitled-suite/fixtures out/test/untitled-suite && cp src/DefaultTemplate.editorconfig out",
137+
"format": "prettier --write .",
138138
"lint": "eslint src/**/*.ts",
139139
"pretest": "npm run lint && npm run build",
140140
"watch": "tsc -watch",
@@ -153,16 +153,6 @@
153153
},
154154
"rules": {
155155
"prettier/prettier": "error"
156-
},
157-
"plugins": [
158-
"prettier"
159-
]
160-
},
161-
"prettier": {
162-
"arrowParens": "avoid",
163-
"proseWrap": "always",
164-
"semi": false,
165-
"singleQuote": true,
166-
"trailingComma": "all"
156+
}
167157
}
168158
}

0 commit comments

Comments
 (0)