From 79d5ffa4086422461f513d1a1837bb598eb55732 Mon Sep 17 00:00:00 2001 From: Daniel Frey Date: Fri, 28 Apr 2023 16:01:21 +0200 Subject: [PATCH] Update clang-tidy rules --- .clang-tidy | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 14eb1216..c70509b3 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,13 @@ +# The Art of C++ +# https://github.com/taocpp/json + +# Copyright (c) 2016-2023 Daniel Frey +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) + Checks: >- bugprone-*, + -bugprone-easily-swappable-parameters, cppcoreguidelines-slicing, cppcoreguidelines-special-member-functions, google-build-explicit-make-pair, @@ -10,6 +18,7 @@ Checks: >- llvm-*, -llvm-namespace-comment, misc-*, + -misc-no-recursion, -misc-non-private-member-variables-in-classes, -misc-unused-alias-decls, modernize-*, @@ -20,6 +29,7 @@ Checks: >- performance-*, readability-*, -readability-avoid-const-params-in-decls, + -readability-identifier-length, -readability-magic-numbers, CheckOptions: