20 lines
886 B
JavaScript
20 lines
886 B
JavaScript
/*
|
|
* 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.
|
|
*/
|
|
|
|
module.exports = {
|
|
/**
|
|
* Synchronized regex list of files that use `styled-components`.
|
|
* Used by `kbn-babel-preset` and `elastic-eslint-config-kibana`.
|
|
*/
|
|
USES_STYLED_COMPONENTS: [
|
|
/packages[\/\\]kbn-ui-shared-deps[\/\\]/,
|
|
/src[\/\\]plugins[\/\\](data|kibana_react)[\/\\]/,
|
|
/x-pack[\/\\]plugins[\/\\](apm|beats_management|cases|fleet|infra|lists|observability|osquery|security_solution|timelines|uptime)[\/\\]/,
|
|
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,
|
|
],
|
|
};
|