require: 'rubocop-jekyll'
inherit_gem:
  rubocop-jekyll: '.rubocop.yml'

AllCops:
  Exclude:
    - lib/jekyll-admin/public/**/*
    - src/**/*
    - node_modules/**/*

Metrics/BlockLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Max: 9

Style/FrozenStringLiteralComment:
  Enabled: false

Naming/MemoizedInstanceVariableName:
  Exclude:
    - lib/jekyll-admin/page_without_a_file.rb

Naming/UncommunicativeMethodParamName:
  Exclude:
    - lib/jekyll-admin/data_file.rb

require: 'rubocop-jekyll'
inherit_gem:
  rubocop-jekyll: '.rubocop.yml'

AllCops:
  Exclude:
    - lib/jekyll-admin/public/**/*
    - src/**/*
    - node_modules/**/*
    - vendor/**/*

Metrics/BlockLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Max: 9

Style/FrozenStringLiteralComment:
  Enabled: false

Naming/MemoizedInstanceVariableName:
  Exclude:
    - lib/jekyll-admin/page_without_a_file.rb

Naming/UncommunicativeMethodParamName:
  Exclude:
    - lib/jekyll-admin/data_file.rb

Exclude ruby files in vendor directory
RuboCop: Exclude ruby files in vendor directory
