Skip to content

Commit

Permalink
🔄 Update ts (#chore/update-ts)
Browse files Browse the repository at this point in the history
Summary: Updated TypeScript version and added Prettier configuration.

Highlights:

• Updated TypeScript version in `package.json` to `^5.7.2`.
• Added `prettier.config.js` with TailwindCSS and package.json plugins.
• Set editor settings to disable indentation detection and use tabs.

Read more: https://pierre.co/0x57/sdk/chore/update-ts
  • Loading branch information
hex2f authored and Pierre committed Nov 23, 2024
1 parent cc82328 commit b0d2294
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"files.eol": "\n",
"files.trimFinalNewlines": true,

"editor.detectIndentation": false,
"editor.insertSpaces": false,

"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"eslint-config-xo-typescript": "^3.0.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.3.3"
"typescript": "^5.7.2"
}
}
6 changes: 6 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** @type {import("prettier").Config} */
module.exports = {
quoteProps: "consistent",
useTabs: true,
plugins: ["prettier-plugin-tailwindcss", "prettier-plugin-packagejson"],
};

0 comments on commit b0d2294

Please sign in to comment.