Skip to content

Commit

Permalink
Kurt Cobain
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Sep 2, 2024
1 parent e0395fe commit 3b13d90
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 430 deletions.
7 changes: 2 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,19 @@
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": ["@typescript-eslint"],
"rules": {
"no-undef": "off",
"no-unused-vars": "off",
"react-hooks/exhaustive-deps": "off",
"react/jsx-uses-react": "warn",
"@typescript-eslint/consistent-type-definitions": "off",
"@next/next/no-img-element": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"react/react-in-jsx-scope": "off",
"react/no-children-prop": "off",
"@typescript-eslint/no-explicit-any": "off",
"react/prop-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/no-unescaped-entities": "off",
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx tsc && npm run format && npm run lint
npx tsc && npm run lint
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions components/ui/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Header = <T extends object>({ children, className, columns, ...props }: He
)
}

interface TableRow<T extends object> extends RowProps<T> {
interface TableRowProps<T extends object> extends RowProps<T> {
className?: string
}

Expand All @@ -117,7 +117,7 @@ const TableRow = <T extends object>({
columns,
id,
...props
}: TableRow<T>) => {
}: TableRowProps<T>) => {
const { selectionBehavior, allowsDragging } = useTableOptions()
return (
<Row
Expand Down
Loading

0 comments on commit 3b13d90

Please sign in to comment.