mirror of
https://github.com/mantinedev/next-app-template.git
synced 2026-06-22 04:11:26 +10:00
Update oxfmt config
This commit is contained in:
+12
-19
@@ -2,25 +2,18 @@
|
||||
"printWidth": 100,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"importOrder": [
|
||||
".*styles.css$",
|
||||
"",
|
||||
"dayjs",
|
||||
"^react$",
|
||||
"^next$",
|
||||
"^next/.*$",
|
||||
"<BUILTIN_MODULES>",
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
"^@mantine/(.*)$",
|
||||
"^@mantinex/(.*)$",
|
||||
"^@mantine-tests/(.*)$",
|
||||
"^@docs/(.*)$",
|
||||
"^@/.*$",
|
||||
"^../(?!.*\\.css$).*$",
|
||||
"^./(?!.*\\.css$).*$",
|
||||
"\\.module\\.css$",
|
||||
"(?<!\\.module)\\.css$"
|
||||
],
|
||||
"sortImports": {
|
||||
"groups": [
|
||||
"side_effect_style",
|
||||
"external",
|
||||
"internal",
|
||||
["parent", "sibling", "index"],
|
||||
"style",
|
||||
"unknown"
|
||||
],
|
||||
"newlinesBetween": false,
|
||||
"order": "asc"
|
||||
},
|
||||
"sortPackageJson": false,
|
||||
"ignorePatterns": [
|
||||
"*.d.ts",
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import '@mantine/core/styles.css';
|
||||
|
||||
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
|
||||
import { useEffect } from 'react';
|
||||
import { useGlobals } from 'storybook/preview-api';
|
||||
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
|
||||
import { theme } from '../theme';
|
||||
|
||||
export const parameters = {
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
import '@mantine/core/styles.css';
|
||||
|
||||
import React from 'react';
|
||||
import { ColorSchemeScript, mantineHtmlProps, MantineProvider } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import { theme } from '../theme';
|
||||
|
||||
export const metadata = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { render as testingLibraryRender } from '@testing-library/react';
|
||||
import { MantineProvider } from '@mantine/core';
|
||||
import { render as testingLibraryRender } from '@testing-library/react';
|
||||
import { theme } from '../theme';
|
||||
|
||||
export function render(ui: React.ReactNode) {
|
||||
|
||||
Reference in New Issue
Block a user