# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-06-18 11:38:36 UTC using RuboCop version 1.17.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. # Offense count: 56 # Cop supports --auto-correct. Rails/ApplicationRecord: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Rails/NegateInclude: Exclude: - 'lib/paper_trail/events/base.rb' # Offense count: 1 # Cop supports --auto-correct. Rails/Presence: Exclude: - 'lib/paper_trail/reifier.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: Include. # Include: **/Rakefile, **/*.rake Rails/RakeEnvironment: Exclude: - 'Rakefile' # Offense count: 4 # Cop supports --auto-correct. Rails/RedundantForeignKey: Exclude: - 'spec/dummy_app/app/models/family/family.rb' - 'spec/dummy_app/app/models/family/family_line.rb' - 'spec/dummy_app/app/models/person.rb' # It may be possible for us to use safe_load, but we'd have to pass the # safelists, like `whitelist_classes` into our serializer, and the serializer # interface is a public API, so that would be a breaking change. # Offense count: 13 # Cop supports --auto-correct. Security/YAMLLoad: Exclude: - 'lib/paper_trail/serializers/yaml.rb' - 'spec/models/book_spec.rb' - 'spec/models/gadget_spec.rb' - 'spec/models/no_object_spec.rb' - 'spec/models/person_spec.rb' - 'spec/models/version_spec.rb' - 'spec/paper_trail/events/destroy_spec.rb' - 'spec/paper_trail/model_spec.rb' - 'spec/paper_trail/serializer_spec.rb'