Skip to content

Commit

Permalink
remove prettier.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed May 7, 2019
1 parent 0858fb9 commit 6639cbe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 123 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lint:prettier": "check-prettier lint",
"lint:style": "stylelint --fix 'src/**/*.less' --syntax less",
"lint:ts": "tslint -p . -c tslint.yml",
"prettier": "node ./scripts/prettier.js",
"prettier": " check-prettier write",
"site": "umi build && npm run functions:build",
"start": "cross-env ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION=site umi dev",
"start:no-mock": "cross-env MOCK=none umi dev",
Expand All @@ -42,8 +42,8 @@
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx,json,jsx,less}": [
"node ./scripts/lint-prettier.js",
"**/*.{js,ts,tsx,md,json,jsx,less}": [
"npm run prettier",
"git add"
],
"**/*.{ts,tsx}": "npm run lint-staged:ts"
Expand Down
23 changes: 0 additions & 23 deletions scripts/getPrettierFiles.js

This file was deleted.

50 changes: 0 additions & 50 deletions scripts/lint-prettier.js

This file was deleted.

47 changes: 0 additions & 47 deletions scripts/prettier.js

This file was deleted.

0 comments on commit 6639cbe

Please sign in to comment.