mirror of
https://github.com/sasjs/lint.git
synced 2025-12-10 17:34:36 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c09a10290 |
@@ -27,7 +27,6 @@ export async function getLintConfig(): Promise<LintConfig> {
|
|||||||
const configuration = await readFile(
|
const configuration = await readFile(
|
||||||
path.join(projectRoot, '.sasjslint')
|
path.join(projectRoot, '.sasjslint')
|
||||||
).catch((_) => {
|
).catch((_) => {
|
||||||
console.warn('Unable to load .sasjslint file. Using default configuration.')
|
|
||||||
return JSON.stringify(DefaultLintConfiguration)
|
return JSON.stringify(DefaultLintConfiguration)
|
||||||
})
|
})
|
||||||
return new LintConfig(JSON.parse(configuration))
|
return new LintConfig(JSON.parse(configuration))
|
||||||
|
|||||||
Reference in New Issue
Block a user