From ca6a9f868417e83faa1cd94f927245ea65bf9dbe Mon Sep 17 00:00:00 2001 From: Christophe Bliard Date: Fri, 24 Jun 2022 17:57:53 +0200 Subject: [PATCH] Exclude frontend/node_modules for rubocop [skip ci] --- .rubocop.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index f93870236bb..b3229ccea5b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,12 +3,17 @@ require: - rubocop-rspec - ./lib_static/rubocop/cop/open_project/use_service_result_factory_methods.rb +inherit_mode: + merge: + # adding files to Exclude should merge with inherited instead of replacing + - Exclude + AllCops: TargetRubyVersion: 3.1 # Enable any new cops in new versions by default NewCops: enable Exclude: - - db/schema.rb + - '**/node_modules/**/*' Gemspec/RequiredRubyVersion: Exclude: