Files
cunningham/packages/react/.eslintrc.cjs
Nathan Vasse 468c8161eb 📝(react) add RHF examples
Rework a bit the recent work made on RHF example to make some component
more generic, such as RhfSelect and RhfDatepicker, which is based on a
design using RHF context hooks to provide a seamless integration.

Fixes #144
2023-09-05 11:15:51 +02:00

27 lines
569 B
JavaScript

module.exports = {
root: true,
extends: ["custom"],
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.eslint.json"],
},
rules: {
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: [
"vite.config.ts",
"vite.icons.config.ts",
"vite.fonts.config.ts",
"cunningham.ts",
"**/*.stories.tsx",
"**/*.spec.tsx",
"src/tests/*",
"**/stories-utils.tsx",
"**/reactHookFormUtils.tsx"
],
},
],
},
};