Skip to content

Commit

Permalink
chore: rename "lint" scripts to "format" and format all relevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
Yberion committed Jan 12, 2023
1 parent fbd7c5d commit a496a60
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
"docs:build": "compodoc -p --tsconfig ./tsconfig.json -n ngx-device-detector -d docs --hideGenerator --theme Vagrant",
"docs:serve": "npm run docs:build -- -s",
"docs:watch": "npm run docs:build -- -s -w",
"lint:demo": "prettier --check projects/demo/src/**/*.ts",
"lint:lib": "prettier --check projects/ngx-device-detector/src/**/*.ts",
"lint:lib:fix": "prettier --write projects/ngx-device-detector/src/**/*.ts",
"lint": "npm run lint:lib",
"lint:fix": "npm run lint:lib:fix",
"format:check": "prettier --config ./.prettierrc --list-different \"{projects,src}/**/*{.ts,.js,.json,.html,.scss}\"",
"format:all": "prettier --config ./.prettierrc --write \"{projects,src}/**/*{.ts,.js,.json,.html,.scss}\"",
"test": "jest",
"test:coverage": "jest --coverage",
"e2e": "ng e2e",
Expand Down

0 comments on commit a496a60

Please sign in to comment.