1
0
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:
Krishna Acondy
2021-03-29 09:26:20 +01:00
parent 8fc3c39993
commit f1adcb8cb4
10 changed files with 188 additions and 53 deletions

View File

@@ -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)
})
})

View File

@@ -13,7 +13,8 @@ export const DefaultLintConfiguration = {
noSpacesInFileNames: true,
lowerCaseFileNames: true,
maxLineLength: 80,
noTabIndentation: true
noTabIndentation: true,
indentationMultiple: 2
}
/**