diff --git a/.rubocop.yml b/.rubocop.yml index 087d9c0..5844558 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -38,10 +38,6 @@ Gemspec/RequireMFA: Style/NegatedIf: Enabled: false -# Disabling for now until it's clearer why we want this -Style/FrozenStringLiteralComment: - Enabled: false - # # Leaving length metrics to human judgment for now # diff --git a/packwerk-extensions.gemspec b/packwerk-extensions.gemspec index 3770f81..ddcb46a 100644 --- a/packwerk-extensions.gemspec +++ b/packwerk-extensions.gemspec @@ -1,3 +1,5 @@ +# frozen_string_literal: true + Gem::Specification.new do |spec| spec.name = 'packwerk-extensions' spec.version = '0.4.0' diff --git a/test/fixtures/skeleton/components/timeline/app/models/graphql.rb b/test/fixtures/skeleton/components/timeline/app/models/graphql.rb index 50e4664..8e18c0f 100644 --- a/test/fixtures/skeleton/components/timeline/app/models/graphql.rb +++ b/test/fixtures/skeleton/components/timeline/app/models/graphql.rb @@ -1,4 +1,5 @@ # typed: false +# frozen_string_literal: true module GraphQL end diff --git a/test/fixtures/skeleton/components/timeline/app/models/graphql/private_thing.rb b/test/fixtures/skeleton/components/timeline/app/models/graphql/private_thing.rb index 408f909..32d2899 100644 --- a/test/fixtures/skeleton/components/timeline/app/models/graphql/private_thing.rb +++ b/test/fixtures/skeleton/components/timeline/app/models/graphql/private_thing.rb @@ -1,4 +1,5 @@ # typed: false +# frozen_string_literal: true module GraphQL class PrivateThing diff --git a/test/fixtures/skeleton/components/timeline/app/models/private_thing.rb b/test/fixtures/skeleton/components/timeline/app/models/private_thing.rb index 652a077..52d9ebb 100644 --- a/test/fixtures/skeleton/components/timeline/app/models/private_thing.rb +++ b/test/fixtures/skeleton/components/timeline/app/models/private_thing.rb @@ -1,4 +1,5 @@ # typed: false +# frozen_string_literal: true class PrivateThing end diff --git a/test/fixtures/skeleton/config/environment.rb b/test/fixtures/skeleton/config/environment.rb index eb9f445..63d034a 100644 --- a/test/fixtures/skeleton/config/environment.rb +++ b/test/fixtures/skeleton/config/environment.rb @@ -1,3 +1,4 @@ # typed: false +# frozen_string_literal: true # this file intentionally left blank