Skip to content

Commit

Permalink
2.6.0 - support passing function as a required field config option to…
Browse files Browse the repository at this point in the history
… dynamically handle required fields
  • Loading branch information
Tynik committed Jan 12, 2025
1 parent b55be0c commit d5be04e
Show file tree
Hide file tree
Showing 7 changed files with 424 additions and 317 deletions.
15 changes: 6 additions & 9 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";

import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';
import pluginReact from 'eslint-plugin-react';

/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{ts,jsx,tsx}"]},
{languageOptions: { globals: globals.node }},
{ files: ['**/*.{ts,jsx,tsx}'] },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.strict,
pluginReact.configs.flat.recommended,
];
];
17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-hive/honey-form",
"version": "2.5.0",
"version": "2.6.0",
"description": "The TS library to build the fully customized forms using React framework",
"keywords": [
"react",
Expand Down Expand Up @@ -32,22 +32,19 @@
],
"peerDependencies": {
"@mdx-js/react": "3.1.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@eslint/js": "9.17.0",
"@eslint/js": "9.18.0",
"@mdx-js/loader": "3.1.0",
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/mdx": "2.0.13",
"@types/react": ">=18.0.0",
"@types/react-dom": ">=18.0.0",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"eslint": "9.17.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"eslint": "9.18.0",
"eslint-plugin-react": "7.37.3",
"globals": "^15.14.0",
"html-webpack-plugin": "5.6.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
Loading

0 comments on commit d5be04e

Please sign in to comment.