MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / Rules

Method Rules

pkg/linter/linter.go:96–98  ·  view source on GitHub ↗

Rules returns the list of rules configured for this linter. The returned slice should not be modified.

()

Source from the content-addressed store, hash-verified

94// Rules returns the list of rules configured for this linter.
95// The returned slice should not be modified.
96func (l *Linter) Rules() []Rule {
97 return l.rules
98}
99
100// LintFile lints a single SQL file.
101//

Callers 5

TestLinter_RulesFunction · 0.45
lintRunFunction · 0.45
lintFromStdinFunction · 0.45
TestCreateLinterFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestLinter_RulesFunction · 0.36
TestCreateLinterFunction · 0.36