Skip to content
项目

TheSwordBreaker/vite-reactts-eslint-prettier

在 GitHub 查看

关于

预先配置了 ESLint 和 Prettier 的 Vite、React 与 TypeScript 项目

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Vite + React + Typescript + Eslint + Prettier

A starter for React with Typescript with the fast Vite and all static code testing with Eslint and formatting with Prettier.

Vite + React + Typescript + Eslint + Prettier

I found out about Vite and I wanted to have a boilerplate for the technologies that I use. You can find more about these in the following links: Vite, React, Typescript, Eslint, Prettier.

Installation

Clone the repo and run yarn install

or Run command

npx degit TheSwordBreaker/vite-reactts-eslint-prettier project-name

Start

After the successfull installation of the packages: yarn dev

Steps in Vscode

(works with better with this template)

  1. Install Eslint and prettier extension for vs code.
  2. Make Sure Both are enabled
  3. Make sure all packages are Installed. (Mostly Eslint and prettier in node_modules)
  4. Enable formatOnSave of vs code
  5. Open a .tsx file and check if the bottom right corners of vs code have Eslint and Prettier with a double tick

Screenshot (253)_LI

If Everything is Good Then It Should Work, but let me new if something else happens

Made with ❤️ by theSwordBreaker(we Destory all types of sword ⚡)

探索相关项目

加载中…