Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

TS-5019 :: Feature Internal :: Configure Prettier #140

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm run validate
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dist
node_modules
/examples
.angular
16 changes: 0 additions & 16 deletions .prettierrc.js

This file was deleted.

16 changes: 0 additions & 16 deletions examples/angular/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion examples/angular/.nvmrc

This file was deleted.

25 changes: 0 additions & 25 deletions examples/backend/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions examples/backend/.prettierrc

This file was deleted.

9 changes: 1 addition & 8 deletions examples/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint": "eslint -c ../../.eslintrc.js --ignore-path ../../.eslintignore \"{src,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
Expand Down Expand Up @@ -45,13 +44,7 @@
"@types/jest": "28.1.4",
"@types/node": "^16.0.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "28.1.2",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "28.0.5",
Expand Down
Loading