Fix formatting command

This commit is contained in:
Kieran 2023-09-05 15:21:39 +01:00
parent c72cdcc9a9
commit ab464bfae5
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 2 additions and 6 deletions

View File

@ -58,7 +58,7 @@ steps:
- yarn build
- yarn test
- yarn workspace @snort/app eslint
- yarn workspace @snort/app prettier --check .
- yarn prettier --check .
volumes:
- name: cache
claim:

View File

@ -44,8 +44,7 @@
"intl-extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --out-file src/lang.json --flatten true",
"intl-compile": "formatjs compile src/lang.json --out-file src/translations/en.json",
"format": "prettier --write .",
"eslint": "eslint .",
"prepare": "cd ../.. && husky install"
"eslint": "eslint ."
},
"eslintConfig": {
"extends": [
@ -110,8 +109,5 @@
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"workbox-webpack-plugin": "^6.5.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,md}": "prettier --write"
}
}