Update package folder lint paths (#204230)

## Summary

I noticed that the precommit_hook was failing locally for me because
these paths are outdated.

cc @gsoldevila

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
This commit is contained in:
Alejandro Fernández Haro 2024-12-17 12:36:08 +01:00 committed by GitHub
parent 5b68294e1d
commit 058ff3446c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,19 @@ export const IGNORE_FILE_GLOBS = [
*
* @type {Array}
*/
export const KEBAB_CASE_DIRECTORY_GLOBS = ['packages/*', 'x-pack', 'x-pack/packages/*'];
export const KEBAB_CASE_DIRECTORY_GLOBS = [
'packages/*',
'x-pack',
'x-pack/packages/*',
'src/core/packages/*/*',
'src/platform/packages/private/*',
'src/platform/packages/shared/*',
'x-pack/platform/packages/private/*',
'x-pack/platform/packages/shared/*',
'x-pack/solutions/observability/packages/*',
'x-pack/solutions/search/packages/*',
'x-pack/solutions/security/packages/*',
];
/**
* These patterns are matched against directories and indicate