1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

chore(workflow): add lint step

This commit is contained in:
Yury Shkoda
2021-10-20 15:48:05 +03:00
parent 19c60c4c98
commit ba2c209fce
3 changed files with 63 additions and 6 deletions

14
package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "server",
"version": "0.0.1",
"description": "NodeJS wrapper for calling the SAS binary executable",
"scripts": {
"lint-api:fix": "npx prettier --write \"api/src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"lint-api": "npx prettier --check \"api/src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"lint-web:fix": "npx prettier --write \"web/src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"lint-web": "npx prettier --check \"web/src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\""
},
"devDependencies": {
"prettier": "^2.3.1"
}
}