From ab464bfae5f3997f69d1126f7d61db57fd895c4c Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 5 Sep 2023 15:21:39 +0100 Subject: [PATCH] Fix formatting command --- .drone.yml | 2 +- packages/app/package.json | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index d9b03b43..e9a7d9bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/packages/app/package.json b/packages/app/package.json index 060d4b19..d1d00624 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -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" } }