Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Fix ESLint from erroring in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed May 14, 2023
1 parent 7bf5376 commit 6b5c8f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"extends": ["prettier", "@augu/eslint-config/ts.js"],
"ignorePatterns": ["**/*.md", "LICENSE"]
"ignorePatterns": ["**/*.md", "LICENSE"],
"parserOptions": {
"project": "./tsconfig.json"
},
"overrides": [
{
"files": ["scripts/**/*.ts"],
"parserOptions": {
"project": "./scripts/tsconfig.json"
}
}
]
}
2 changes: 1 addition & 1 deletion scripts/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function main() {
});
} else {
const method = message.severity === 1 ? log.warn : log.error;
method(` * ${s} ${message.message} (${message.ruleId})`);
method(`${message.message} (${message.ruleId})`);
}
}
}
Expand Down

0 comments on commit 6b5c8f2

Please sign in to comment.