mirror of
https://github.com/sasjs/lint.git
synced 2026-01-10 22:10:06 +00:00
feat(lint): add rule for indentation multiple
This commit is contained in:
@@ -18,7 +18,7 @@ describe('getLintConfig', () => {
|
||||
|
||||
expect(config).toBeInstanceOf(LintConfig)
|
||||
expect(config.fileLintRules.length).toEqual(1)
|
||||
expect(config.lineLintRules.length).toEqual(4)
|
||||
expect(config.lineLintRules.length).toEqual(5)
|
||||
expect(config.pathLintRules.length).toEqual(2)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -13,7 +13,8 @@ export const DefaultLintConfiguration = {
|
||||
noSpacesInFileNames: true,
|
||||
lowerCaseFileNames: true,
|
||||
maxLineLength: 80,
|
||||
noTabIndentation: true
|
||||
noTabIndentation: true,
|
||||
indentationMultiple: 2
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user