TypeScript项目整合ESLint, Prettier, Jest实例

对于TypeScript项目,整合ESLint、Prettier和Jest可提升代码质量和测试效率。若您未使用Python,建议移除.pre-commit-config.yaml文件。遵循以下步骤进行操作。

zip
typescript-eslint-prettier-jest-example-master.zip 预估大小:19个文件
folder
typescript-eslint-prettier-jest-example-master 文件夹
file
jest.setup.js 667B
file
.eslintrc.js 3KB
folder
.vscode 文件夹
file
launch.json 2KB
file
extensions.json 272B
file
settings.json 240B
file
tasks.json 930B
file
tsconfig.json 6KB
file
LICENSE 1KB
file
jest.config.js 871B
folder
__tests__ 文件夹
file
datetime.test.ts 169B
file
README.md 154B
file
.pre-commit-config.yaml 925B
file
tsconfig.prod.json 262B
file
.gitignore 7KB
file
.prettierrc.js 293B
file
.eslintignore 100B
file
tsconfig.eslint.json 339B
file
package-lock.json 410KB
file
package.json 2KB
zip 文件大小:83.89KB