|
6 | 6 | [#{dirs => ["src"],
|
7 | 7 | filter => "*.erl",
|
8 | 8 | ruleset => erl_files,
|
9 |
| - rules => [{elvis_style, line_length, #{limit => 100, |
10 |
| - skip_comments => false}}, |
11 |
| - {elvis_style, dont_repeat_yourself, #{min_complexity => 20}} |
12 |
| - ] |
| 9 | + rules => [{elvis_text_style, line_length, #{limit => 100, |
| 10 | + skip_comments => false}}, |
| 11 | + {elvis_style, dont_repeat_yourself, #{min_complexity => 20}} |
| 12 | + ], |
| 13 | + ignore => ['XmppAddr', acl, adhoc, amp, amp_resolver, amp_strategy, cert_utils, ejabberd, |
| 14 | + ejabberd_admin, ejabberd_app, ejabberd_cowboy, ejabberd_ctl, ejabberd_local, |
| 15 | + ejabberd_router, ejabberd_s2s, ejabberd_s2s_in, ejabberd_s2s_out, |
| 16 | + ejabberd_service, ejabberd_sm, ejabberd_sm_cets, ejabberd_sm_mnesia, |
| 17 | + ejabberd_sm_redis, ejabberd_sup, eldap_filter, eldap_filter_yecc, eldap_pool, |
| 18 | + eldap_utils, gdpr_api, gen_hook, gen_iq_handler, gen_mod, gen_mod_deps, jlib, |
| 19 | + just_tls, mnesia_api, mod_adhoc, mod_amp, mod_auth_token_rdbms, mod_bind2, |
| 20 | + mod_bosh, mod_bosh_socket, mod_cache_users, mod_caps, mod_caps_mnesia, |
| 21 | + mod_carboncopy, mod_csi, mod_disco, mod_domain_isolation, mod_extdisco, |
| 22 | + mongoose_data_forms, mongoose_disco, mod_last_mnesia, mod_last_rdbms, mod_ping, |
| 23 | + mod_presence, mod_private, mod_private_mnesia, mod_private_rdbms, |
| 24 | + mod_push_service_mongoosepush, mod_register, mod_sasl2, mod_sic, mod_time, |
| 25 | + mod_websockets, mongoose_acc, mongoose_account_api, mongoose_amqp, |
| 26 | + mongoose_api_common, mongoose_bin, mongoose_cets_discovery, |
| 27 | + mongoose_cets_discovery_rdbms, mongoose_cleaner, mongoose_cluster, |
| 28 | + mongoose_deprecations, mongoose_http_client, mongoose_instrument_probe_cets, |
| 29 | + mongoose_iq_worker, mongoose_lib, mongoose_local_delivery, mongoose_mnesia, |
| 30 | + mongoose_packet_handler, mongoose_privacy, mongoose_rabbit_worker, mongoose_redis, |
| 31 | + mongoose_router_external, mongoose_router_external_localnode, |
| 32 | + mongoose_router_global, mongoose_router_localdomain, mongoose_scram, |
| 33 | + mongoose_server_api, mongoose_session_api, mongoose_start_node_id, mongoose_tls, |
| 34 | + mongoose_transport, mongoose_user_cache, mongoose_xmpp_errors, monitored_map, |
| 35 | + translate, tr_util, mod_last] |
13 | 36 | },
|
14 | 37 | #{dirs => ["test", "test.disabled/mongoose_tests/tests"],
|
15 | 38 | filter => "*.erl",
|
16 | 39 | ruleset => erl_files,
|
17 |
| - rules => [{elvis_style, line_length, #{limit => 100, |
18 |
| - skip_comments => false}}, |
| 40 | + ignore => [amp_SUITE, amp_gen, auth_dummy_SUITE, auth_http_SUITE, auth_internal_SUITE, |
| 41 | + auth_jwt_SUITE, auth_tokens_SUITE, batches_SUITE, carboncopy_proper_tests_SUITE, |
| 42 | + component_reg_SUITE, config_parser_SUITE, ejabberd_helper, ejabberd_sm_SUITE, |
| 43 | + event_pusher_sns_SUITE, gen_hook_SUITE, gen_mod_SUITE, json_formatter_SUITE, |
| 44 | + logger_helper, mam_misc_SUITE, migration_scripts_SUITE, mim_ct_rest, |
| 45 | + mim_ct_rest_handler, mod_global_distrib_SUITE, mod_mam_SUITE, |
| 46 | + mod_offline_mnesia_SUITE, mod_websockets_SUITE, mongoose_cleanup_SUITE, |
| 47 | + mongoose_config_SUITE, mongoose_deprecations_SUITE, mongoose_domain_core_SUITE, |
| 48 | + mongoose_graphql_SUITE, mongoose_instrument_SUITE, |
| 49 | + mongoose_instrument_metrics_SUITE, mongoose_lazy_routing_SUITE, |
| 50 | + mongoose_listener_SUITE, mongoose_rabbit_worker_SUITE, mongoose_rdbms_SUITE, |
| 51 | + mongoose_subdomain_core_SUITE, mongoose_wpool_SUITE, mongooseim_loglevel_SUITE, |
| 52 | + mongooseim_loglevel_SUITE_helper, muc_light_SUITE, privacy_SUITE, |
| 53 | + pubsub_backend_SUITE, roster_SUITE, router_SUITE, safely_SUITE, translate_SUITE, |
| 54 | + xmlel_gen, acl_SUITE], |
| 55 | + rules => [{elvis_text_style, line_length, #{limit => 100, |
| 56 | + skip_comments => false}}, |
19 | 57 | {elvis_style, invalid_dynamic_call, disable},
|
20 | 58 | {elvis_style, no_debug_call, disable},
|
21 | 59 | {elvis_style, no_spec_with_records, disable},
|
|
0 commit comments