# I found the Rubocop yml file

**URL:** <https://www.ruby-forum.com/t/i-found-the-rubocop-yml-file/259485>\
**Category:** Development\
**Created:** [May 5, 2020, 7:05pm UTC](https://www.ruby-forum.com/t/i-found-the-rubocop-yml-file/259485 "2020-05-05T19:05:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulGureghian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ba8739/32.png) [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Post date:** [May 5, 2020, 7:05pm UTC](https://www.ruby-forum.com/t/i-found-the-rubocop-yml-file/259485/1 "2020-05-05T19:05:53Z")

</div>

![Rubocop1](https://www.ruby-forum.com/uploads/default/original/2X/b/bc0bf66ac9fd5f93fd2ea297ba136cb3fbe72a38.png)

Is this the file I need to edit in order to mute offences I don’t agree with or want ?

For example, If I want to mute these offences, is this file the place to do it ?

---

<div class="post-metadata">

**Author:** ![PaulGureghian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ba8739/32.png) [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Post date:** [May 5, 2020, 7:06pm UTC](https://www.ruby-forum.com/t/i-found-the-rubocop-yml-file/259485/2 "2020-05-05T19:06:31Z")

</div>

![Rubocop](https://www.ruby-forum.com/uploads/default/original/2X/f/fa15006bc0049e8417cc0688183ad6e74163156b.png)

---

<div class="post-metadata">

**Author:** ![pcl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecae2f/32.png) [@pcl](https://www.ruby-forum.com/u/pcl)\
**Post date:** [May 5, 2020, 10:11pm UTC](https://www.ruby-forum.com/t/i-found-the-rubocop-yml-file/259485/3 "2020-05-05T22:11:24Z")

</div>

Yes, that’s the one - “default.yml”.

For example, if you don’t like getting the ‘offence’  
“Style/StringLiterals: Prefer single-quoted strings when you don’t need string interpolation or special symbols.”

Then go to line 3769, and change the ‘enabled’ to false:

```auto
Style/StringLiterals:
  Description: 'Checks if uses of quotes match the configured preference.'
  StyleGuide: '#consistent-string-literals'
  Enabled: true
  VersionAdded: '0.9'
  VersionChanged: '0.36'
  EnforcedStyle: single_quotes
  SupportedStyles:
    - single_quotes
    - double_quotes
  # If `true`, strings which span multiple lines using `\` for continuation must
  # use the same type of quotes on each line.
  ConsistentQuotesInMultiline: false

```
