mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Implement package linter (#148496)
This PR implements a linter like the TS Project linter, except for packages in the repo. It does this by extracting the reusable bits from the TS Project linter and reusing them for the project linter. The only rule that exists for packages right now is that the "name" in the package.json file matches the "id" in Kibana.jsonc. The goal is to use a rule to migrate kibana.json files on the future. Additionally, a new rule for validating the indentation of tsconfig.json files was added. Validating and fixing violations is what has triggered review by so many teams, but we plan to treat those review requests as notifications of the changes and not as blockers for merging. Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
039ed991d8
commit
d6be4a4b06
218 changed files with 3917 additions and 1650 deletions
|
@ -6,14 +6,4 @@
|
|||
"outDir": "target/types",
|
||||
"types": [ "node"],
|
||||
},
|
||||
"kbn_references": [
|
||||
{
|
||||
"path": "../../synthetics/e2e/tsconfig.json",
|
||||
},
|
||||
{
|
||||
"path": "../../observability/e2e/tsconfig.json"
|
||||
},
|
||||
"@kbn/test",
|
||||
"@kbn/observability-plugin",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue