From 1b8e0ef7f88b3f6e7fda9dd353f5366c35141bcf Mon Sep 17 00:00:00 2001 From: Itay-Tsabary-Starkware <106665835+Itay-Tsabary-Starkware@users.noreply.github.com> Date: Sun, 1 Dec 2024 13:10:27 +0200 Subject: [PATCH] chore(ci): update commitlint (#2315) commit-id:b131efeb --- commitlint.config.js | 73 ++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index 35b60a5681..1e8011f8d1 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -19,54 +19,61 @@ const Configuration = { */ rules: { 'scope-enum': [2, 'always', [ - 'base_layer', - 'batcher', - 'block_hash', 'blockifier', 'blockifier_reexecution', 'cairo_native', 'ci', 'committer', - 'common', - 'concurrency', - 'config', - 'consensus', + 'committer_cli', 'deployment', - 'execution', - 'fee', - 'gateway', 'helm', - 'infra', - 'JSON-RPC', - 'l1_provider', - 'load_test', - 'mempool', - 'mempool_p2p', - 'mempool_p2p_types', + 'infra_utils', 'mempool_test_utils', - 'mempool_types', - 'monitoring', 'native_blockifier', - 'network', - 'node', + 'papyrus_base_layer', + 'papyrus_common', + 'papyrus_config', + 'papyrus_execution', + 'papyrus_load_test', + 'papyrus_monitoring_gateway', + 'papyrus_network', + 'papyrus_network_types', + 'papyrus_node', + 'papyrus_p2p_sync', + 'papyrus_proc_macros', + 'papyrus_protobuf', + 'papyrus_rpc', 'papyrus_state_reader', - 'protobuf', + 'papyrus_storage', + 'papyrus_sync', + 'papyrus_test_utils', 'release', - 'sequencer_infra', - 'sequencer_node', - 'skeleton', + 'sequencing', 'starknet_api', + 'starknet_batcher', + 'starknet_batcher_types', 'starknet_client', + 'starknet_committer', + 'starknet_consensus_manager', 'starknet_gateway', - 'state', - 'storage', - 'sync', - 'test_utils', - 'tests_integration', - 'transaction', - 'types', + 'starknet_gateway_types', + 'starknet_http_server', + 'starknet_integration_tests', + 'starknet_l1_provider', + 'starknet_mempool', + 'starknet_mempool_p2p', + 'starknet_mempool_p2p_types', + 'starknet_mempool_types', + 'starknet_monitoring_endpoint', + 'starknet_patricia', + 'starknet_sequencer_infra', + 'starknet_sequencer_node', + 'starknet_sierra_compile', + 'starknet_state_sync', + 'starknet_state_sync_types', + 'starknet_task_executor', ]], - 'header-max-length': [2, 'always', 72], + 'header-max-length': [2, 'always', 100], }, /* * Functions that return true if commitlint should ignore the given message.