Merge pull request #1078 from anidl/tabs

Convert to Tabs (4 space) instead of 2 space
This commit is contained in:
Stratuma 2025-09-30 09:48:29 +02:00 committed by GitHub
commit 8365e9d9e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 15868 additions and 15866 deletions

3
.git-blame-ignore-revs Normal file
View file

@ -0,0 +1,3 @@
# Ignore the whitespace changes in the following commits
460b4c1d0e12c88459aaff786fbe348c4c3d517a
a14466ec5d29accbe81b5ffac6e0a1373d04e356

View file

@ -11,9 +11,9 @@
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": false,
"useTabs": true,
"vueIndentScriptAndStyle": false,
"printWidth": 180,
"endOfLine": "auto"

View file

@ -17,7 +17,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-expressions': 'warn',
'indent': [
'error',
2
4
],
'linebreak-style': [
'warn',
@ -56,8 +56,7 @@ export default tseslint.config(
files: ['gui/react/**/*'],
rules: {
'no-console': 0,
// Disabled because ESLint bugs around on .tsx files somehow?
indent: 'off'
'indent': 'off'
}
}
);

View file

@ -24,7 +24,7 @@ export default class Helper {
}
static cleanupFilename(n: string) {
/* eslint-disable no-extra-boolean-cast, no-useless-escape, no-control-regex */
/* eslint-disable no-useless-escape, no-control-regex */
const fixingChar = '_';
const illegalRe = /[\/\?<>\\:\*\|":]/g;
const controlRe = /[\x00-\x1f\x80-\x9f]/g;

2
tsc.ts
View file

@ -119,7 +119,7 @@ export { ignore };
process.stdout.write('✓\n');
})();
function readDir (dir: string): {
function readDir(dir: string): {
path: string,
stats: fs.Stats
}[] {