ppanel-web/packages/shadcn/eslint.config.js
2024-11-26 19:21:37 +07:00

24 lines
730 B
JavaScript

import { config } from '@repo/eslint-config/react-internal';
/** @type {import("eslint").Linter.Config} */
export default [
...config,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react/prop-types': 'off',
'react/no-unknown-property': 'off',
'react-hooks/exhaustive-deps': 'off',
'react/jsx-no-target-blank': 'off',
'prefer-const': 'off',
'no-var': 'off',
'no-dupe-keys': 'off',
},
},
];