mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
chore(NA): add elastic prefix to eslint-config-kibana (#76059)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
78262467e0
commit
0068c87d6f
13 changed files with 7 additions and 7 deletions
|
@ -39,7 +39,7 @@ target
|
||||||
/x-pack/legacy/plugins/maps/public/vendor/**
|
/x-pack/legacy/plugins/maps/public/vendor/**
|
||||||
|
|
||||||
# package overrides
|
# package overrides
|
||||||
/packages/eslint-config-kibana
|
/packages/elastic-eslint-config-kibana
|
||||||
/packages/kbn-interpreter/src/common/lib/grammar.js
|
/packages/kbn-interpreter/src/common/lib/grammar.js
|
||||||
/packages/kbn-plugin-generator/template
|
/packages/kbn-plugin-generator/template
|
||||||
/packages/kbn-pm/dist
|
/packages/kbn-pm/dist
|
||||||
|
|
|
@ -48,7 +48,7 @@ If you’re installing dependencies and seeing an error that looks
|
||||||
something like
|
something like
|
||||||
|
|
||||||
....
|
....
|
||||||
Unsupported URL Type: link:packages/eslint-config-kibana
|
Unsupported URL Type: link:packages/elastic-eslint-config-kibana
|
||||||
....
|
....
|
||||||
|
|
||||||
you’re likely running `npm`. To install dependencies in {kib} you
|
you’re likely running `npm`. To install dependencies in {kib} you
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# eslint-config-kibana
|
# elastic-eslint-config-kibana
|
||||||
|
|
||||||
The eslint config used by the kibana team
|
The eslint config used by the kibana team
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
"main": ".eslintrc.js",
|
"main": ".eslintrc.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/elastic/eslint-config-kibana.git"
|
"url": "git+https://github.com/elastic/kibana.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Spencer Alger <email@spalger.com>",
|
"author": "Spencer Alger <email@spalger.com>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/elastic/kibana/tree/master/packages/eslint-config-kibana"
|
"url": "https://github.com/elastic/kibana/tree/master/packages/elastic-eslint-config-kibana"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/elastic/kibana/tree/master/packages/eslint-config-kibana",
|
"homepage": "https://github.com/elastic/kibana/tree/master/packages/elastic-eslint-config-kibana",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^3.10.0",
|
"@typescript-eslint/eslint-plugin": "^3.10.0",
|
||||||
"@typescript-eslint/parser": "^3.10.0",
|
"@typescript-eslint/parser": "^3.10.0",
|
|
@ -19,7 +19,7 @@ From a plugin perspective there are two different types of Kibana dependencies:
|
||||||
runtime and static dependencies. Runtime dependencies are things that are
|
runtime and static dependencies. Runtime dependencies are things that are
|
||||||
instantiated at runtime and that are injected into the plugin, for example
|
instantiated at runtime and that are injected into the plugin, for example
|
||||||
config and elasticsearch clients. Static dependencies are those dependencies
|
config and elasticsearch clients. Static dependencies are those dependencies
|
||||||
that we want to `import`. `eslint-config-kibana` is one example of this, and
|
that we want to `import`. `elastic-eslint-config-kibana` is one example of this, and
|
||||||
it's actually needed because eslint requires it to be a separate package. But we
|
it's actually needed because eslint requires it to be a separate package. But we
|
||||||
also have dependencies like `datemath`, `flot`, `eui` and others that we
|
also have dependencies like `datemath`, `flot`, `eui` and others that we
|
||||||
control, but where we want to `import` them in plugins instead of injecting them
|
control, but where we want to `import` them in plugins instead of injecting them
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue