From f040ab251c1381d4f4c1222fbb3ec939ff0993b4 Mon Sep 17 00:00:00 2001 From: Dafna Matsry Date: Thu, 18 Jul 2024 13:45:03 +0300 Subject: [PATCH] chore: meld common repo files --- .gitignore | 20 +++++++++++++++++++- commitlint.config.js | 19 +++++++++++++++++++ rustfmt.toml | 2 +- 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b27c66292a..2778bb95de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,22 @@ -/ci +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + +*.egg-info +build +dist +target +*/.vscode/* +*.DS_Store +tmp_venv/* +.vscode/settings.json /data /logs /target diff --git a/commitlint.config.js b/commitlint.config.js index 6b474f2606..6766638422 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -20,8 +20,11 @@ const Configuration = { rules: { 'scope-enum': [2, 'always', [ 'base_layer', + 'block_builder', + 'ci', 'common', 'config', + 'consensus', 'execution', 'helm', 'JSON-RPC', @@ -29,11 +32,27 @@ const Configuration = { 'monitoring', 'network', 'node', + 'protobuf', 'release', 'starknet_client', 'storage', 'sync', 'test_utils', + 'ci', + 'gateway', + 'mempool', + 'mempool_node', + 'tests-integration', + 'concurrency', + 'execution', + 'fee', + 'native_blockifier', + 'state', + 'transaction', + 'block_hash', + 'ci', + 'skeleton', + 'types', ]], }, /* diff --git a/rustfmt.toml b/rustfmt.toml index da15639568..1cb6623287 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,4 @@ -edition = "2018" +edition = "2021" newline_style = "Unix" use_field_init_shorthand = true use_small_heuristics = "Max"