-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue-110532-security-usage-data
- Loading branch information
Showing
174 changed files
with
4,533 additions
and
2,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
export * from './update_vscode_config_cli'; |
40 changes: 40 additions & 0 deletions
40
packages/kbn-dev-utils/src/vscode_config/managed_config_keys.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
export interface ManagedConfigKey { | ||
key: string; | ||
value: Record<string, any>; | ||
} | ||
|
||
/** | ||
* Defines the keys which we overrite in user's vscode config for the workspace. We currently | ||
* only support object values because that's all we needed to support, but support for non object | ||
* values should be easy to add. | ||
*/ | ||
export const MANAGED_CONFIG_KEYS: ManagedConfigKey[] = [ | ||
{ | ||
key: 'files.watcherExclude', | ||
value: { | ||
['**/.eslintcache']: true, | ||
['**/.es']: true, | ||
['**/.yarn-local-mirror']: true, | ||
['**/.chromium']: true, | ||
['**/packages/kbn-pm/dist/index.js']: true, | ||
['**/bazel-*']: true, | ||
['**/node_modules']: true, | ||
['**/target']: true, | ||
['**/*.log']: true, | ||
}, | ||
}, | ||
{ | ||
key: 'search.exclude', | ||
value: { | ||
['**/packages/kbn-pm/dist/index.js']: true, | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.