サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
docs.rubocop.org
There are two ways to load RuboCop extensions today - a legacy ad-hoc approach, and an official API that’s the recommended way. Not all extensions have been updated to the new API, so you’ll have to load the two types of extensions differently. Starting with RuboCop 1.72, plugins were introduced as the recommended way to load extension cop gems. When using gems that have been updated to support th
The behavior of RuboCop can be controlled via the .rubocop.yml configuration file. It makes it possible to enable/disable certain cops (checks) and to alter their behavior if they accept any parameters. The file can be placed in your home directory, XDG config directory, or in some project directory.
RuboCop is a Ruby static code analyzer (a.k.a. linter) and code formatter. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide. RuboCop packs a lot of features on top of what you’d normally expect from a linter: Works with every major Ruby implementation Autocorrection of many of the code offenses it detects Robust code formatting capabilities Multiple
このページを最初にブックマークしてみませんか?
『docs.rubocop.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く