Fix formatting command
This commit is contained in:
parent
c72cdcc9a9
commit
ab464bfae5
@ -58,7 +58,7 @@ steps:
|
|||||||
- yarn build
|
- yarn build
|
||||||
- yarn test
|
- yarn test
|
||||||
- yarn workspace @snort/app eslint
|
- yarn workspace @snort/app eslint
|
||||||
- yarn workspace @snort/app prettier --check .
|
- yarn prettier --check .
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
claim:
|
claim:
|
||||||
|
@ -44,8 +44,7 @@
|
|||||||
"intl-extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --out-file src/lang.json --flatten true",
|
"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",
|
"intl-compile": "formatjs compile src/lang.json --out-file src/translations/en.json",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"eslint": "eslint .",
|
"eslint": "eslint ."
|
||||||
"prepare": "cd ../.. && husky install"
|
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
@ -110,8 +109,5 @@
|
|||||||
"webpack-cli": "^5.1.4",
|
"webpack-cli": "^5.1.4",
|
||||||
"webpack-dev-server": "^4.15.1",
|
"webpack-dev-server": "^4.15.1",
|
||||||
"workbox-webpack-plugin": "^6.5.4"
|
"workbox-webpack-plugin": "^6.5.4"
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.{js,jsx,ts,tsx,css,md}": "prettier --write"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user