Update oxfmt config

This commit is contained in:
Vitaly Rtishchev
2026-04-18 15:56:18 +03:00
parent 48ebc3cf5e
commit 042329aa19
4 changed files with 15 additions and 24 deletions
+12 -19
View File
@@ -2,25 +2,18 @@
"printWidth": 100, "printWidth": 100,
"singleQuote": true, "singleQuote": true,
"trailingComma": "es5", "trailingComma": "es5",
"importOrder": [ "sortImports": {
".*styles.css$", "groups": [
"", "side_effect_style",
"dayjs", "external",
"^react$", "internal",
"^next$", ["parent", "sibling", "index"],
"^next/.*$", "style",
"<BUILTIN_MODULES>", "unknown"
"<THIRD_PARTY_MODULES>", ],
"^@mantine/(.*)$", "newlinesBetween": false,
"^@mantinex/(.*)$", "order": "asc"
"^@mantine-tests/(.*)$", },
"^@docs/(.*)$",
"^@/.*$",
"^../(?!.*\\.css$).*$",
"^./(?!.*\\.css$).*$",
"\\.module\\.css$",
"(?<!\\.module)\\.css$"
],
"sortPackageJson": false, "sortPackageJson": false,
"ignorePatterns": [ "ignorePatterns": [
"*.d.ts", "*.d.ts",
+1 -2
View File
@@ -1,8 +1,7 @@
import '@mantine/core/styles.css'; import '@mantine/core/styles.css';
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
import { useEffect } from 'react'; import { useEffect } from 'react';
import { useGlobals } from 'storybook/preview-api'; import { useGlobals } from 'storybook/preview-api';
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
import { theme } from '../theme'; import { theme } from '../theme';
export const parameters = { export const parameters = {
+1 -2
View File
@@ -1,7 +1,6 @@
import '@mantine/core/styles.css'; import '@mantine/core/styles.css';
import React from 'react';
import { ColorSchemeScript, mantineHtmlProps, MantineProvider } from '@mantine/core'; import { ColorSchemeScript, mantineHtmlProps, MantineProvider } from '@mantine/core';
import React from 'react';
import { theme } from '../theme'; import { theme } from '../theme';
export const metadata = { export const metadata = {
+1 -1
View File
@@ -1,5 +1,5 @@
import { render as testingLibraryRender } from '@testing-library/react';
import { MantineProvider } from '@mantine/core'; import { MantineProvider } from '@mantine/core';
import { render as testingLibraryRender } from '@testing-library/react';
import { theme } from '../theme'; import { theme } from '../theme';
export function render(ui: React.ReactNode) { export function render(ui: React.ReactNode) {