mirror of
https://github.com/sasjs/lint.git
synced 2026-01-05 03:30:06 +00:00
fix: check tab indentation in whole line
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
indentationMultiple,
|
||||
maxLineLength,
|
||||
noEncodedPasswords,
|
||||
noTabIndentation,
|
||||
noTabs,
|
||||
noTrailingSpaces
|
||||
} from '../rules/line'
|
||||
import { lowerCaseFileNames, noSpacesInFileNames } from '../rules/path'
|
||||
@@ -60,8 +60,8 @@ export class LintConfig {
|
||||
this.lineLintRules.push(noEncodedPasswords)
|
||||
}
|
||||
|
||||
if (json?.noTabIndentation) {
|
||||
this.lineLintRules.push(noTabIndentation)
|
||||
if (json?.noTabs || json?.noTabIndentation) {
|
||||
this.lineLintRules.push(noTabs)
|
||||
}
|
||||
|
||||
if (json?.maxLineLength) {
|
||||
|
||||
Reference in New Issue
Block a user