mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
Merge pull request #1078 from anidl/tabs
Convert to Tabs (4 space) instead of 2 space
This commit is contained in:
commit
8365e9d9e4
125 changed files with 15868 additions and 15866 deletions
3
.git-blame-ignore-revs
Normal file
3
.git-blame-ignore-revs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Ignore the whitespace changes in the following commits
|
||||
460b4c1d0e12c88459aaff786fbe348c4c3d517a
|
||||
a14466ec5d29accbe81b5ffac6e0a1373d04e356
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue