rubocop'ing
This commit is contained in:
parent
468613e193
commit
919af86a65
3 changed files with 5 additions and 3 deletions
|
@ -21,6 +21,8 @@ inherit_gem:
|
|||
# Extra
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: true
|
||||
Layout/SpaceInsideHashLiteralBraces:
|
||||
Enabled: true
|
||||
|
||||
##
|
||||
# Disabled
|
||||
|
|
|
@ -89,7 +89,7 @@ end
|
|||
namespace :lint do
|
||||
desc "Run rubocop (Ruby)"
|
||||
task :rubocop do
|
||||
sh "bundle exec rubocop lib/ src/"
|
||||
sh "bundle exec rubocop"
|
||||
end
|
||||
|
||||
desc "Run eslint (TypeScript)"
|
||||
|
|
4
Rules
4
Rules
|
@ -39,8 +39,8 @@ require_rules "rules/assets"
|
|||
require_rules "rules/pages/surah/redirect"
|
||||
require_rules "rules/pages/surah/stream", {locales:, i18n:, slugs:}
|
||||
require_rules "rules/pages/surah/index", {locales:, i18n:}
|
||||
require_rules "rules/pages/surah/random", {locales:, i18n:,slugs:}
|
||||
require_rules "rules/pages/surah/id_redirect", {locales:, i18n:,slugs:}
|
||||
require_rules "rules/pages/surah/random", {locales:, i18n:, slugs:}
|
||||
require_rules "rules/pages/surah/id_redirect", {locales:, i18n:, slugs:}
|
||||
|
||||
##
|
||||
# Inline CSS / JSON rules
|
||||
|
|
Loading…
Reference in a new issue