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:
Joachim Van Herwegen
2023-10-27 11:28:57 +02:00
parent 58daeb684f
commit 6248ed0938
327 changed files with 6424 additions and 3375 deletions

View File

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