Spaces:
Running
Running
bradduy
commited on
Commit
·
743400d
1
Parent(s):
2c27336
remove rules
Browse files
eslint.config.mjs
CHANGED
@@ -54,5 +54,8 @@ export default antfu({
|
|
54 |
'node/prefer-global/process': 'off', // Allow using `process.env`
|
55 |
'test/padding-around-all': 'error', // Add padding in test files
|
56 |
'test/prefer-lowercase-title': 'off', // Allow using uppercase titles in test titles
|
|
|
|
|
|
|
57 |
},
|
58 |
});
|
|
|
54 |
'node/prefer-global/process': 'off', // Allow using `process.env`
|
55 |
'test/padding-around-all': 'error', // Add padding in test files
|
56 |
'test/prefer-lowercase-title': 'off', // Allow using uppercase titles in test titles
|
57 |
+
'react-hooks/exhaustive-deps': 'off',
|
58 |
+
'jsx-a11y/anchor-is-valid': 'off',
|
59 |
+
|
60 |
},
|
61 |
});
|
src/app/layout.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import type { Metadata } from 'next';
|
2 |
import { Navbar } from '@/components/Navbar';
|
3 |
import { Inter, Outfit } from 'next/font/google';
|
|
|
1 |
+
/* eslint import/newline-after-import: "off" */
|
2 |
import type { Metadata } from 'next';
|
3 |
import { Navbar } from '@/components/Navbar';
|
4 |
import { Inter, Outfit } from 'next/font/google';
|
src/components/atoms/Badge/index.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import type * as React from 'react';
|
2 |
import { cn } from '@/utils/Helpers';
|
3 |
import { cva, type VariantProps } from 'class-variance-authority';
|
|
|
1 |
+
/* eslint import/newline-after-import: "off" */
|
2 |
import type * as React from 'react';
|
3 |
import { cn } from '@/utils/Helpers';
|
4 |
import { cva, type VariantProps } from 'class-variance-authority';
|
src/components/atoms/Button/index.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import { cn } from '@/utils/Helpers';
|
2 |
import { cva, type VariantProps } from 'class-variance-authority';
|
3 |
import { type ButtonHTMLAttributes, type FC, memo, type PropsWithChildren, type Ref } from 'react';
|
|
|
1 |
+
/* eslint import/newline-after-import: "off" */
|
2 |
import { cn } from '@/utils/Helpers';
|
3 |
import { cva, type VariantProps } from 'class-variance-authority';
|
4 |
import { type ButtonHTMLAttributes, type FC, memo, type PropsWithChildren, type Ref } from 'react';
|
src/components/atoms/Card/index.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import { cn } from '@/utils/Helpers';
|
2 |
import * as React from 'react';
|
3 |
|
|
|
1 |
+
/* eslint import/newline-after-import: "off" */
|
2 |
import { cn } from '@/utils/Helpers';
|
3 |
import * as React from 'react';
|
4 |
|
src/components/atoms/Input/index.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import { cn } from '@/utils/Helpers';
|
2 |
import { type FC, type InputHTMLAttributes, memo, type Ref } from 'react';
|
3 |
|
|
|
1 |
+
/* eslint import/newline-after-import: "off" */
|
2 |
import { cn } from '@/utils/Helpers';
|
3 |
import { type FC, type InputHTMLAttributes, memo, type Ref } from 'react';
|
4 |
|
src/components/atoms/index.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
export { Badge } from './Badge';
|
2 |
export { Button } from './Button';
|
3 |
export { Card } from './Card';
|
4 |
-
export { Input } from './Input';
|
5 |
-
|
|
|
1 |
export { Badge } from './Badge';
|
2 |
export { Button } from './Button';
|
3 |
export { Card } from './Card';
|
4 |
+
export { Input } from './Input';
|
|