mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:02:22 -05:00
add some basic linting rules for translation consistency (#5212)
* lint rules * trans rule * migrate away from rulesDir config * fixes * prefer Trans to t() * typechecker * cleanup * note * typo * extend regex to include punctuation * extend fixer to handle imports * autofixes from punctuation
This commit is contained in:
@@ -6,7 +6,7 @@ import prompts from 'prompts';
|
||||
|
||||
async function run() {
|
||||
const username = await execAsync(
|
||||
// eslint-disable-next-line rulesdir/typography
|
||||
// eslint-disable-next-line actual/typography
|
||||
"gh api user --jq '.login'",
|
||||
'To avoid having to enter your username, consider installing the official GitHub CLI (https://github.com/cli/cli) and logging in with `gh auth login`.',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user