@pushwoosh/frontend-builder-engine 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,9 +4,9 @@ import eslint from '@eslint/js';
4
4
  import stylistic from '@stylistic/eslint-plugin';
5
5
  import stylisticTs from '@stylistic/eslint-plugin-ts';
6
6
  import importPlugin from 'eslint-plugin-import';
7
- import tseslint from 'typescript-eslint';
8
7
  import reactPlugin from 'eslint-plugin-react';
9
8
  import hooksPlugin from 'eslint-plugin-react-hooks';
9
+ import tseslint from 'typescript-eslint';
10
10
 
11
11
  export default tseslint.config(
12
12
  eslint.configs.recommended,
@@ -39,6 +39,25 @@ export default tseslint.config(
39
39
  ...hooksPlugin.configs.recommended.rules,
40
40
  'react/display-name': 'off',
41
41
  'react/no-array-index-key': 'error',
42
+ 'react/jsx-max-props-per-line': [
43
+ 'error',
44
+ {
45
+ when: 'always',
46
+ maximum: 3,
47
+ },
48
+ ],
49
+ 'max-len': [
50
+ 'error',
51
+ {
52
+ code: 160,
53
+ tabWidth: 2,
54
+ ignoreUrls: true,
55
+ ignoreComments: true,
56
+ ignoreStrings: true,
57
+ ignoreTemplateLiterals: true,
58
+ ignoreRegExpLiterals: true,
59
+ },
60
+ ],
42
61
  '@stylistic/multiline-ternary': 'off',
43
62
  '@stylistic/ts/member-delimiter-style': [
44
63
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/frontend-builder-engine",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Pushwoosh frontend builder engine",
5
5
  "main": "./lib/pushwoosh-frontend-builder-engine.js",
6
6
  "scripts": {