Skip to content

Commit

Permalink
Update package folder lint paths (elastic#204230)
Browse files Browse the repository at this point in the history
## Summary

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

cc @gsoldevila

---------

Co-authored-by: Gerard Soldevila <[email protected]>
  • Loading branch information
afharo and gsoldevila authored Dec 17, 2024
1 parent 5b68294 commit 058ff34
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/dev/precommit_hook/casing_check_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 058ff34

Please sign in to comment.