mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Merge pull request #412 from crystal-ameba/group-documentation-rules
Move documentation-related rules into its own group
This commit is contained in:
commit
881209d54e
7 changed files with 12 additions and 10 deletions
|
@ -12,6 +12,7 @@ module Ameba::Rule
|
|||
it "contains rules across all the available groups" do
|
||||
Rule.rules.map(&.group_name).uniq!.reject!(&.empty?).sort.should eq %w(
|
||||
Ameba
|
||||
Documentation
|
||||
Layout
|
||||
Lint
|
||||
Metrics
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require "../../../spec_helper"
|
||||
|
||||
module Ameba::Rule::Lint
|
||||
module Ameba::Rule::Documentation
|
||||
subject = DocumentationAdmonition.new
|
||||
|
||||
describe DocumentationAdmonition do
|
|
@ -1,6 +1,6 @@
|
|||
require "../../../spec_helper"
|
||||
|
||||
module Ameba::Rule::Lint
|
||||
module Ameba::Rule::Documentation
|
||||
subject = Documentation.new
|
||||
.tap(&.ignore_classes = false)
|
||||
.tap(&.ignore_modules = false)
|
Loading…
Add table
Add a link
Reference in a new issue