From fb091c1c51aee24ba28719858c45915377a6436c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 3 Dec 2018 10:57:10 +0100 Subject: [PATCH] Update APM UI dev docs --- x-pack/plugins/apm/readme.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/x-pack/plugins/apm/readme.md b/x-pack/plugins/apm/readme.md index 844b914cb6906..9729655c560b8 100644 --- a/x-pack/plugins/apm/readme.md +++ b/x-pack/plugins/apm/readme.md @@ -1,11 +1,6 @@ -# Documentation for APM in x-pack-kibana +# Documentation for APM UI -_Note: Be sure to run the following commands from inside the `x-pack` directory._ - -### Format with Prettier -``` -npx prettier "./plugins/apm/**/*.js" --write -``` +_Note: Run the following commands from `kibana/x-pack`._ ### Run tests ``` @@ -17,7 +12,13 @@ node scripts/jest.js plugins/apm --watch node scripts/jest.js plugins/apm --updateSnapshot ``` -### Run ESLint (run from kibana root) +_Note: Run the following commands from `kibana/`._ + +### Format with Prettier + +./node_modules/.bin/prettier "./x-pack/plugins/apm/**/*.js" --write + +### Run ESLint (run from `kibana/`) ``` ./node_modules/.bin/eslint ./x-pack/plugins/apm ```