Skip to content

Commit 7c93dee

Browse files
committed
Version 7.9.0 (autocommit)
1 parent e40d7cd commit 7c93dee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+16170
-14151
lines changed

community/examples/formdata/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
},
1919
"dependencies": {
2020
"@faker-js/faker": "^10.0.0",
21-
"@react-form-builder/components-rsuite": "^7.8.0",
22-
"@react-form-builder/core": "^7.8.0",
21+
"@react-form-builder/components-rsuite": "^7.9.0",
22+
"@react-form-builder/core": "^7.9.0",
2323
"@vitejs/plugin-react-swc": "^3.7.2",
2424
"react": "^19.0.0",
2525
"react-dom": "^19.0.0",

community/src/.eslintignore

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@ vite.config.ts
22
vite.ssl.config.ts
33
types
44
**/dist
5-
BuildScripts
65
documentation
7-
examples
8-
scripts/*.js
9-
scripts/test/**/*
10-
packages/apps/demo/scripts
11-
packages/apps/formbuilder/scripts
12-
packages/designer/scripts
13-
packages/views/default
14-
sample-apps
6+
scripts
157
pack.js
168
tests
17-
tools
9+
*.d.ts

community/src/.eslintrc.cjs

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
/* eslint-env node */
2-
const project = [
3-
'./packages/core/tsconfig.json',
4-
'./packages/designer/tsconfig.json',
5-
'./packages/designer-bundle/tsconfig.json',
6-
'./packages/indexed-db-form-storage/tsconfig.json',
7-
'./packages/viewer-bundle/tsconfig.json',
8-
'./packages/viewer-bundle-premium/tsconfig.json',
9-
'./packages/views/rich-text/tsconfig.json',
10-
'./packages/views/google-map/tsconfig.json',
11-
'./packages/views/fast-qr/tsconfig.json',
12-
'./packages/views/rsuite/tsconfig.json',
13-
'./packages/views/rsuite/config/tsconfig.json',
14-
'./packages/views/signature/tsconfig.json',
15-
'./packages/views/uploader/tsconfig.json',
16-
'./tests/component/tsconfig.json'
17-
]
18-
192
module.exports = {
3+
settings: {
4+
react: {
5+
version: 'detect',
6+
},
7+
},
208
extends: [
219
'eslint:recommended',
2210
'plugin:react-hooks/recommended',
@@ -51,6 +39,10 @@ module.exports = {
5139
'react-hooks/exhaustive-deps': ['error', {
5240
'additionalHooks': ''
5341
}],
42+
'react-hooks/immutability': 'warn',
43+
'react-hooks/refs': 'warn',
44+
'react-hooks/set-state-in-effect': 'warn',
45+
'react-hooks/static-components': 'warn',
5446
'unicorn/no-useless-fallback-in-spread': 'error',
5547
'unicorn/no-useless-spread': 'error',
5648
'unicorn/prefer-spread': 'error',
@@ -88,11 +80,15 @@ module.exports = {
8880
'import/first': 'error',
8981
'import/newline-after-import': 'error',
9082
'@typescript-eslint/no-import-type-side-effects': 'error',
83+
'@typescript-eslint/no-redundant-type-constituents': 'warn',
84+
'@typescript-eslint/no-base-to-string': 'warn',
85+
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
86+
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
87+
'@typescript-eslint/require-await': 'warn',
9188
'@typescript-eslint/consistent-type-exports': 'error',
9289
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
9390
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
9491
'no-throw-literal': 'off',
95-
'@typescript-eslint/no-throw-literal': 'error',
9692
'init-declarations': 'off',
9793
'@typescript-eslint/init-declarations': ['error', 'always'],
9894
'import/extensions': ['error', {
@@ -125,7 +121,7 @@ module.exports = {
125121
},
126122
parser: '@typescript-eslint/parser',
127123
parserOptions: {
128-
project,
124+
project: './tsconfig.json',
129125
tsconfigRootDir: __dirname,
130126
},
131127
root: true,

community/src/lerna.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"useNx": true,
4-
"useWorkspaces": true,
5-
"version": "7.8.0"
3+
"useNx": false,
4+
"packages": [
5+
"packages/*",
6+
"packages/apps/*",
7+
"packages/views/*",
8+
"documentation/website",
9+
"tests/*"
10+
],
11+
"version": "7.9.0"
612
}

community/src/nx.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)