rubygems - Rubocop: Ignore all cops that are boilerplate from a new rails app -


when run rubocop in app directory, long list of cops stem default boiler-plate rails app generated.

i don't want rubocop @ these files since i'm not author of files , don't want mess around them.

i see can add files exclude: section rubocop/config/default.yml i'm not sure configs , files should adding ignore built in files while not ignoring files create.

you can run rubocop --auto-gen-config , create todo file can disable cops in. can selectively turn ones want on. alternatively can create boiler plate rails app , run rubocop , files need add excludes list.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -