403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.118.37.154
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/highline-2.1.0/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/highline-2.1.0//.rubocop.yml
# Bellow the changes to default Rubocop behavior.

# See options at:
# https://github.com/bbatsov/rubocop/tree/master/config

AllCops:
  TargetRubyVersion: 2.1

# General

# Multi-line method chaining should be done with leading dots.
Layout/DotPosition:
  EnforcedStyle: trailing
  SupportedStyles:
    - leading
    - trailing

# Enabling
# --------

Style/CollectionMethods:
  Description: 'Preferred collection methods.'
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size'
  Enabled: true

Style/StringMethods:
  Description: 'Checks if configured preferred methods are used over non-preferred.'
  Enabled: true

# Disabling
# ---------

# Modifying
# ---------

# Check quotes usage according to lint rule below.
Style/StringLiterals:
  Enabled: true
  EnforcedStyle: double_quotes

# Configuration parameters: SupportedStyles.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
  EnforcedStyle: snake_case
  Exclude:
    - 'test/**/*'

# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AutoCorrectEncodingComment.
# SupportedStyles: when_needed, always, never
Style/Encoding:
  Enabled: true

# If we fix this, it will change method signature.
# Save it for major release.
Style/OptionalArguments:
  Exclude:
    - 'lib/highline/list_renderer.rb'

# TemplateRenderer should never fail on method missing.
Style/MethodMissing:
  Exclude:
    - 'lib/highline/template_renderer.rb'

# This is a breaking change for MRI 1.9.
# Revoke when updating to MRI 2.0 as minimum.
# Cop supports --auto-correct.
# Configuration parameters: MinSize, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
  EnforcedStyle: brackets

# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
  Exclude:
    - 'examples/page_and_wrap.rb'
    - 'highline.gemspec'
    - 'test/acceptance/acceptance.rb'

# Cop supports --auto-correct.
Lint/ScriptPermission:
  Enabled: false

Youez - 2016 - github.com/yon3zu
LinuXploit