Disables dprint import/export sorting & adds a fix option for the linting errors.
This commit is contained in:
parent
4479f68388
commit
33c3dd48e4
@ -32,6 +32,10 @@
|
|||||||
"constructorType.spaceAfterNewKeyword": false,
|
"constructorType.spaceAfterNewKeyword": false,
|
||||||
"constructSignature.spaceAfterNewKeyword": false,
|
"constructSignature.spaceAfterNewKeyword": false,
|
||||||
"doWhileStatement.spaceAfterWhileKeyword": true,
|
"doWhileStatement.spaceAfterWhileKeyword": true,
|
||||||
|
"module.sortImportDeclarations": "maintain",
|
||||||
|
"module.sortExportDeclarations": "maintain",
|
||||||
|
"exportDeclaration.sortNamedExports": "maintain",
|
||||||
|
"importDeclaration.sortNamedImports": "maintain",
|
||||||
"exportDeclaration.spaceSurroundingNamedExports": false,
|
"exportDeclaration.spaceSurroundingNamedExports": false,
|
||||||
"forInStatement.spaceAfterForKeyword": true,
|
"forInStatement.spaceAfterForKeyword": true,
|
||||||
"forOfStatement.spaceAfterForKeyword": true,
|
"forOfStatement.spaceAfterForKeyword": true,
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
||||||
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
||||||
"lint:fix": "eslint --fix --ext .ts src/**",
|
"lint:fix": "biome check --apply-unsafe --max-diagnostics=200 . && dprint fmt --incremental=false",
|
||||||
"style": "dprint check --incremental=false",
|
"style": "dprint check --incremental=false",
|
||||||
"style:fix": "dprint fmt --incremental=false",
|
"style:fix": "dprint fmt --incremental=false",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
|
Loading…
Reference in New Issue
Block a user