mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Replace linting configurations
The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
This commit is contained in:
@@ -18,8 +18,10 @@ import { version } from '../package.json';
|
||||
* and then pushes commit and tag.
|
||||
*/
|
||||
async function commitAndTag(): Promise<void> {
|
||||
// eslint-disable-next-line ts/naming-convention
|
||||
await simpleGit().commit([], 'CHANGELOG.md', { '--amend': null, '--no-edit': null, '--no-verify': null });
|
||||
await simpleGit().addAnnotatedTag(`v${version}`, `Release Version ${version}`);
|
||||
// eslint-disable-next-line ts/naming-convention
|
||||
await simpleGit().push({ '--follow-tags': null });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user