Skip to content

Commit 0c0451f

Browse files
authored
Update eslint.config.mts
1 parent 0bdbf9b commit 0c0451f

1 file changed

Lines changed: 1 addition & 46 deletions

File tree

‎packages/app/eslint.config.mts‎

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default defineConfig(
5959
"simple-import-sort": simpleImportSort,
6060
codegen: codegenPlugin,
6161
},
62-
files: ["**/*.{ts,tsx}", '**/*.{test,spec}.{ts,tsx}', '**/tests/**', '**/__tests__/**'],
62+
files: ["**/*.ts", '**/*.{test,spec}.{ts,tsx}', '**/tests/**', '**/__tests__/**'],
6363
settings: {
6464
"import/parsers": {
6565
"@typescript-eslint/parser": [".ts", ".tsx"],
@@ -279,36 +279,6 @@ export default defineConfig(
279279
}]
280280
}
281281
},
282-
{
283-
files: [
284-
"src/docker-git/menu-create-shared.ts",
285-
"src/docker-git/menu-render.ts",
286-
"src/web/actions-projects.ts",
287-
"src/web/app-ready-controller.ts",
288-
"src/web/app-ready-main-panels.tsx",
289-
"src/web/app-ready-ssh-link-hook.ts",
290-
"src/web/app-ready-terminal-screen.tsx",
291-
"src/web/app-ready-url.ts",
292-
"src/web/panel-content.tsx",
293-
"src/web/panel-create-select.tsx",
294-
"src/web/panel-project-details.tsx",
295-
"src/web/panel-terminal.tsx",
296-
"src/web/terminal-mobile-controls.ts",
297-
"src/web/terminal-panel-runtime-core.ts"
298-
],
299-
rules: {
300-
"complexity": ["error", 15],
301-
"max-lines": [
302-
"error",
303-
{ max: 650, skipBlankLines: true, skipComments: true }
304-
],
305-
"max-lines-per-function": [
306-
"error",
307-
{ max: 160, skipBlankLines: true, skipComments: true }
308-
],
309-
"max-params": ["error", 6]
310-
}
311-
},
312282
{
313283
files: ['**/*.{test,spec}.{ts,tsx}', 'tests/**', '**/__tests__/**'],
314284
...vitest.configs.all,
@@ -326,21 +296,6 @@ export default defineConfig(
326296
'sonarjs/no-empty-test-file': 'off',
327297
},
328298
},
329-
{
330-
files: [
331-
"src/docker-git/menu-create-shared.ts",
332-
"src/web/app-ready-terminal-screen.tsx",
333-
"src/web/panel-content.tsx",
334-
"src/web/panel-create-select.tsx",
335-
"src/web/panel-project-details.tsx",
336-
"src/web/panel-terminal.tsx",
337-
"src/web/terminal-panel-runtime-core.ts",
338-
],
339-
rules: {
340-
"max-lines": "off",
341-
"max-lines-per-function": "off",
342-
},
343-
},
344299

345300
// 3) Для JS-файлов отключим типо-зависимые проверки
346301
{

0 commit comments

Comments
 (0)