Update APM readme

This commit is contained in:
Søren Louv-Jansen 2018-12-12 14:04:33 +01:00 committed by GitHub
parent a67cb98839
commit 4f3a827d69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,13 +15,20 @@ node scripts/jest.js plugins/apm --updateSnapshot
Note: Run the following commands from `kibana/`.
### Format with Prettier
### Prettier
`./node_modules/.bin/prettier "./x-pack/plugins/apm/**/*.js" --write`
### Run ESLint
```
./node_modules/.bin/eslint ./x-pack/plugins/apm
yarn prettier "./x-pack/plugins/apm/**/*.{tsx,ts,js}" --write
```
### ESLint
```
yarn eslint ./x-pack/plugins/apm --fix
```
### TSLint
```
yarn tslint ./x-pack/plugins/apm/**/*.{ts,tsx} --fix
```
### Ensure everything from master has been backported to 6.x