3 Star 1 Fork 1

热门极速下载/forem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.erb-lint.yml 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
rhymes 提交于 2021-04-05 16:39 . Upgrade Rails to 6.1.3.1 (#11333)
linters:
ErbSafety:
# TODO: [@rhymes] re-enable this and fix the violations,
# see https://github.com/Shopify/erb-lint#ErbSafety
enabled: false
SelfClosingTag:
enabled: false
ParserErrors:
exclude:
- '**/app/views/pages/_editor_guide_text.html.erb'
SpaceInHtmlTag:
exclude:
- '**/app/views/pages/_editor_guide_text.html.erb'
AllowedScriptType:
enabled: true
allowed_types:
- 'text/javascript'
- 'text/x-tmpl'
- 'application/ld+json'
allow_blank: true
disallow_inline_scripts: false
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/InitialIndentation:
Enabled: false
Layout/LineLength:
Max: 289
Exclude:
- '**/app/views/comments/_comment_proper.html.erb'
Layout/TrailingEmptyLines:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Rails/OutputSafety:
Enabled: false
Exclude:
- '**/app/views/feedback_messages/index.html.erb'
- '**/app/views/layouts/_styles.html.erb'
- '**/app/views/liquid_embeds/show.html.erb'
- '**/app/views/moderations/mod.html.erb'
- '**/app/views/pages/onboarding.html.erb'
- '**/app/views/partnerships/show.html.erb'
- '**/app/views/partnerships/index.html.erb'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors_trending/forem.git
git@gitee.com:mirrors_trending/forem.git
mirrors_trending
forem
forem
main

搜索帮助