@syncfusion/ej2-richtexteditor 23.2.7-52849 → 24.1.41

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.
Files changed (259) hide show
  1. package/.eslintrc.json +260 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +40 -40
  3. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +27 -27
  4. package/CHANGELOG.md +1775 -1751
  5. package/README.md +76 -76
  6. package/dist/ej2-richtexteditor.min.js +10 -0
  7. package/dist/ej2-richtexteditor.umd.min.js +10 -1
  8. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  9. package/dist/es6/ej2-richtexteditor.es2015.js +682 -434
  10. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  11. package/dist/es6/ej2-richtexteditor.es5.js +791 -543
  12. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  13. package/dist/global/ej2-richtexteditor.min.js +11 -0
  14. package/dist/global/ej2-richtexteditor.min.js.map +1 -0
  15. package/dist/global/index.d.ts +14 -0
  16. package/helpers/e2e/index.js +3 -3
  17. package/helpers/e2e/rte-helper.js +13 -13
  18. package/license +9 -9
  19. package/package.json +74 -74
  20. package/src/common/config.js +1 -1
  21. package/src/common/interface.d.ts +7 -7
  22. package/src/editor-manager/base/classes.d.ts +1 -1
  23. package/src/editor-manager/base/classes.js +1 -1
  24. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  25. package/src/editor-manager/base/editor-manager.js +3 -3
  26. package/src/editor-manager/base/enum.d.ts +2 -2
  27. package/src/editor-manager/base/interface.d.ts +9 -9
  28. package/src/editor-manager/base/types.d.ts +1 -1
  29. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  30. package/src/editor-manager/plugin/alignments.js +2 -2
  31. package/src/editor-manager/plugin/audio.d.ts +3 -3
  32. package/src/editor-manager/plugin/audio.js +16 -6
  33. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  34. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  35. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  36. package/src/editor-manager/plugin/clearformat.js +1 -1
  37. package/src/editor-manager/plugin/dom-node.d.ts +34 -34
  38. package/src/editor-manager/plugin/dom-node.js +35 -48
  39. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  40. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  41. package/src/editor-manager/plugin/formats.d.ts +2 -2
  42. package/src/editor-manager/plugin/formats.js +2 -2
  43. package/src/editor-manager/plugin/image.d.ts +3 -3
  44. package/src/editor-manager/plugin/image.js +33 -6
  45. package/src/editor-manager/plugin/indents.d.ts +2 -2
  46. package/src/editor-manager/plugin/indents.js +2 -2
  47. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  48. package/src/editor-manager/plugin/insert-methods.js +4 -4
  49. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  50. package/src/editor-manager/plugin/insert-text.js +2 -2
  51. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  52. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  53. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  54. package/src/editor-manager/plugin/inserthtml.js +7 -4
  55. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  56. package/src/editor-manager/plugin/isformatted.js +8 -8
  57. package/src/editor-manager/plugin/link.d.ts +2 -2
  58. package/src/editor-manager/plugin/link.js +2 -2
  59. package/src/editor-manager/plugin/lists.d.ts +2 -2
  60. package/src/editor-manager/plugin/lists.js +2 -2
  61. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  62. package/src/editor-manager/plugin/ms-word-clean-up.js +5 -2
  63. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  64. package/src/editor-manager/plugin/nodecutter.js +7 -7
  65. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  66. package/src/editor-manager/plugin/selection-commands.js +40 -1
  67. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  68. package/src/editor-manager/plugin/selection-exec.js +2 -2
  69. package/src/editor-manager/plugin/table.d.ts +2 -2
  70. package/src/editor-manager/plugin/table.js +2 -2
  71. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  72. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  73. package/src/editor-manager/plugin/undo.d.ts +6 -6
  74. package/src/editor-manager/plugin/undo.js +6 -6
  75. package/src/editor-manager/plugin/video.d.ts +3 -3
  76. package/src/editor-manager/plugin/video.js +3 -3
  77. package/src/markdown-parser/base/interface.d.ts +10 -10
  78. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  79. package/src/markdown-parser/base/markdown-parser.js +3 -3
  80. package/src/markdown-parser/base/types.d.ts +1 -1
  81. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  82. package/src/markdown-parser/plugin/clearformat.js +2 -2
  83. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  84. package/src/markdown-parser/plugin/formats.js +2 -2
  85. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  86. package/src/markdown-parser/plugin/insert-text.js +2 -2
  87. package/src/markdown-parser/plugin/link.d.ts +2 -2
  88. package/src/markdown-parser/plugin/link.js +2 -2
  89. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  90. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  91. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  92. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  93. package/src/markdown-parser/plugin/table.d.ts +3 -3
  94. package/src/markdown-parser/plugin/table.js +3 -3
  95. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  96. package/src/markdown-parser/plugin/undo.js +6 -6
  97. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  98. package/src/rich-text-editor/actions/base-quick-toolbar.js +27 -13
  99. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  100. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  101. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  102. package/src/rich-text-editor/actions/color-picker.js +5 -5
  103. package/src/rich-text-editor/actions/count.d.ts +3 -3
  104. package/src/rich-text-editor/actions/count.js +3 -3
  105. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  106. package/src/rich-text-editor/actions/dropdown-buttons.js +6 -4
  107. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  108. package/src/rich-text-editor/actions/emoji-picker.js +13 -4
  109. package/src/rich-text-editor/actions/enter-key.js +2 -1
  110. package/src/rich-text-editor/actions/file-manager.js +1 -1
  111. package/src/rich-text-editor/actions/format-painter.js +1 -1
  112. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  113. package/src/rich-text-editor/actions/full-screen.js +5 -5
  114. package/src/rich-text-editor/actions/html-editor.d.ts +5 -3
  115. package/src/rich-text-editor/actions/html-editor.js +32 -6
  116. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  117. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  118. package/src/rich-text-editor/actions/keyboard.js +20 -20
  119. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  120. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  121. package/src/rich-text-editor/actions/paste-clean-up.d.ts +3 -1
  122. package/src/rich-text-editor/actions/paste-clean-up.js +73 -20
  123. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  124. package/src/rich-text-editor/actions/quick-toolbar.js +33 -14
  125. package/src/rich-text-editor/actions/toolbar.d.ts +14 -13
  126. package/src/rich-text-editor/actions/toolbar.js +31 -23
  127. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  128. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  129. package/src/rich-text-editor/base/classes.d.ts +126 -121
  130. package/src/rich-text-editor/base/classes.js +126 -121
  131. package/src/rich-text-editor/base/constant.d.ts +155 -150
  132. package/src/rich-text-editor/base/constant.js +155 -150
  133. package/src/rich-text-editor/base/enum.d.ts +1 -1
  134. package/src/rich-text-editor/base/enum.js +1 -1
  135. package/src/rich-text-editor/base/interface.d.ts +59 -49
  136. package/src/rich-text-editor/base/interface.js +1 -1
  137. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
  138. package/src/rich-text-editor/base/rich-text-editor.d.ts +69 -60
  139. package/src/rich-text-editor/base/rich-text-editor.js +143 -80
  140. package/src/rich-text-editor/base/util.d.ts +1 -1
  141. package/src/rich-text-editor/base/util.js +12 -3
  142. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  143. package/src/rich-text-editor/formatter/formatter.js +9 -9
  144. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  145. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  146. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  147. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  148. package/src/rich-text-editor/models/default-locale.js +2 -0
  149. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  150. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  151. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  152. package/src/rich-text-editor/models/inline-mode.js +19 -19
  153. package/src/rich-text-editor/models/items.js +1 -1
  154. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
  155. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  156. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  157. package/src/rich-text-editor/renderer/audio-module.js +1 -1
  158. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  159. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  160. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  161. package/src/rich-text-editor/renderer/dialog-renderer.js +12 -3
  162. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  163. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  164. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  165. package/src/rich-text-editor/renderer/image-module.js +53 -53
  166. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  167. package/src/rich-text-editor/renderer/link-module.js +44 -24
  168. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  169. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  170. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  171. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  172. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  173. package/src/rich-text-editor/renderer/render.js +2 -2
  174. package/src/rich-text-editor/renderer/table-module.d.ts +3 -1
  175. package/src/rich-text-editor/renderer/table-module.js +44 -31
  176. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -15
  177. package/src/rich-text-editor/renderer/toolbar-renderer.js +22 -102
  178. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  179. package/src/rich-text-editor/renderer/video-module.js +1 -1
  180. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  181. package/src/rich-text-editor/renderer/view-source.js +9 -7
  182. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  183. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  184. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  185. package/src/rich-text-editor/services/service-locator.js +3 -3
  186. package/src/selection/selection.d.ts +22 -22
  187. package/src/selection/selection.js +22 -22
  188. package/styles/_all.scss +1 -1
  189. package/styles/bootstrap-dark.css +194 -52
  190. package/styles/bootstrap.css +197 -53
  191. package/styles/bootstrap4.css +194 -52
  192. package/styles/bootstrap5-dark.css +195 -53
  193. package/styles/bootstrap5.css +195 -53
  194. package/styles/fabric-dark.css +194 -52
  195. package/styles/fabric.css +194 -52
  196. package/styles/fluent-dark.css +197 -53
  197. package/styles/fluent.css +197 -53
  198. package/styles/highcontrast-light.css +194 -52
  199. package/styles/highcontrast.css +194 -52
  200. package/styles/material-dark.css +196 -53
  201. package/styles/material.css +196 -53
  202. package/styles/material3-dark.css +194 -52
  203. package/styles/material3-dark.scss +1 -1
  204. package/styles/material3.css +194 -52
  205. package/styles/material3.scss +1 -1
  206. package/styles/rich-text-editor/_all.scss +2 -2
  207. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +277 -277
  208. package/styles/rich-text-editor/_bootstrap-definition.scss +334 -334
  209. package/styles/rich-text-editor/_bootstrap4-definition.scss +460 -460
  210. package/styles/rich-text-editor/_bootstrap5-definition.scss +262 -262
  211. package/styles/rich-text-editor/_fabric-dark-definition.scss +259 -259
  212. package/styles/rich-text-editor/_fabric-definition.scss +257 -257
  213. package/styles/rich-text-editor/_fluent-definition.scss +263 -263
  214. package/styles/rich-text-editor/_fusionnew-definition.scss +261 -261
  215. package/styles/rich-text-editor/_highcontrast-definition.scss +257 -257
  216. package/styles/rich-text-editor/_highcontrast-light-definition.scss +257 -257
  217. package/styles/rich-text-editor/_layout.scss +2147 -2072
  218. package/styles/rich-text-editor/_material-dark-definition.scss +262 -262
  219. package/styles/rich-text-editor/_material-definition.scss +260 -260
  220. package/styles/rich-text-editor/_material3-definition.scss +262 -262
  221. package/styles/rich-text-editor/_tailwind-definition.scss +257 -257
  222. package/styles/rich-text-editor/_theme.scss +837 -837
  223. package/styles/rich-text-editor/bootstrap-dark.css +194 -52
  224. package/styles/rich-text-editor/bootstrap.css +197 -53
  225. package/styles/rich-text-editor/bootstrap4.css +194 -52
  226. package/styles/rich-text-editor/bootstrap5-dark.css +195 -53
  227. package/styles/rich-text-editor/bootstrap5.css +195 -53
  228. package/styles/rich-text-editor/fabric-dark.css +194 -52
  229. package/styles/rich-text-editor/fabric.css +194 -52
  230. package/styles/rich-text-editor/fluent-dark.css +197 -53
  231. package/styles/rich-text-editor/fluent.css +197 -53
  232. package/styles/rich-text-editor/highcontrast-light.css +194 -52
  233. package/styles/rich-text-editor/highcontrast.css +194 -52
  234. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +349 -349
  235. package/styles/rich-text-editor/icons/_bootstrap.scss +349 -349
  236. package/styles/rich-text-editor/icons/_bootstrap4.scss +349 -349
  237. package/styles/rich-text-editor/icons/_bootstrap5.scss +348 -348
  238. package/styles/rich-text-editor/icons/_fabric-dark.scss +349 -349
  239. package/styles/rich-text-editor/icons/_fabric.scss +349 -349
  240. package/styles/rich-text-editor/icons/_fluent.scss +348 -348
  241. package/styles/rich-text-editor/icons/_fusionnew.scss +348 -348
  242. package/styles/rich-text-editor/icons/_highcontrast-light.scss +349 -349
  243. package/styles/rich-text-editor/icons/_highcontrast.scss +349 -349
  244. package/styles/rich-text-editor/icons/_material-dark.scss +349 -349
  245. package/styles/rich-text-editor/icons/_material.scss +349 -349
  246. package/styles/rich-text-editor/icons/_material3.scss +348 -348
  247. package/styles/rich-text-editor/icons/_tailwind.scss +348 -348
  248. package/styles/rich-text-editor/material-dark.css +196 -53
  249. package/styles/rich-text-editor/material.css +196 -53
  250. package/styles/rich-text-editor/material3-dark.css +194 -52
  251. package/styles/rich-text-editor/material3-dark.scss +1 -1
  252. package/styles/rich-text-editor/material3.css +194 -52
  253. package/styles/rich-text-editor/material3.scss +1 -1
  254. package/styles/rich-text-editor/tailwind-dark.css +194 -52
  255. package/styles/rich-text-editor/tailwind.css +194 -52
  256. package/styles/tailwind-dark.css +194 -52
  257. package/styles/tailwind.css +194 -52
  258. package/tslint.json +111 -0
  259. package/src/global.d.ts +0 -1
package/.eslintrc.json ADDED
@@ -0,0 +1,260 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
11
+ ],
12
+ "parser": "@typescript-eslint/parser",
13
+ "parserOptions": {
14
+ "ecmaFeatures": { "js": true },
15
+ "ecmaVersion": 2018,
16
+ "project": "./tsconfig.json",
17
+ "sourceType": "module"
18
+ },
19
+ "plugins": [
20
+ "@typescript-eslint",
21
+ "@typescript-eslint/tslint",
22
+ "eslint-plugin-security",
23
+ "jsdoc"
24
+ ],
25
+ "rules": {
26
+ "use-isnan": "error",
27
+ "security/detect-unsafe-regex":"error",
28
+ "security/detect-buffer-noassert":"error",
29
+ "security/detect-child-process":"error",
30
+ "security/detect-disable-mustache-escape":"error",
31
+ "security/detect-eval-with-expression":"error",
32
+ "security/detect-no-csrf-before-method-override":"error",
33
+ "security/detect-non-literal-fs-filename":"error",
34
+ "security/detect-non-literal-regexp":"error",
35
+ "security/detect-non-literal-require":"error",
36
+ "security/detect-object-injection":"error",
37
+ "security/detect-possible-timing-attacks":"error",
38
+ "security/detect-pseudoRandomBytes":"error",
39
+ "security/detect-new-buffer":"error",
40
+ "security/detect-bidi-characters":"error",
41
+ "@typescript-eslint/no-inferrable-types": "off",
42
+ "@typescript-eslint/ban-types": ["warn", {
43
+ "types": {
44
+ "Object": false,
45
+ "object": false,
46
+ "{}": false,
47
+ "Function": false
48
+ }
49
+ }],
50
+ "jsdoc/check-tag-names": 0,
51
+ "@typescript-eslint/tslint/config": [
52
+ "error",
53
+ {
54
+ "rules": {
55
+ "ban": true,
56
+ "chai-vague-errors": true,
57
+ "max-func-body-length": [
58
+ true,
59
+ 120,
60
+ {
61
+ "ignore-parameters-to-function-regex": "describe"
62
+ }
63
+ ],
64
+ "missing-jsdoc": true,
65
+ "no-backbone-get-set-outside-model": false,
66
+ "no-cookies": false,
67
+ "no-delete-expression": false,
68
+ "no-disable-auto-sanitization": true,
69
+ "no-duplicate-case": true,
70
+ "no-duplicate-parameter-names": true,
71
+ "no-empty-interfaces": false,
72
+ "no-exec-script": true,
73
+ "no-function-expression": false,
74
+ "no-multiple-var-decl": false,
75
+ "no-string-based-set-immediate": false,
76
+ "no-string-based-set-interval": false,
77
+ "no-unnecessary-bind": false,
78
+ "no-unused-imports": true,
79
+ "no-with-statement": false,
80
+ "prefer-array-literal": false,
81
+ "typedef": [
82
+ true,
83
+ "call-signature",
84
+ "parameter",
85
+ "property-declaration",
86
+ "variable-declaration",
87
+ "arrow-parameter",
88
+ "member-variable-declaration"
89
+ ],
90
+ "use-named-parameter": false,
91
+ "valid-typeof": true,
92
+ "whitespace": [
93
+ true,
94
+ "check-branch",
95
+ "check-decl",
96
+ "check-operator",
97
+ "check-separator",
98
+ "check-type"
99
+ ]
100
+ }
101
+ }
102
+ ],
103
+ "no-control-regex": "error",
104
+ "no-constant-condition": "error",
105
+ "no-invalid-regexp": "error",
106
+ "curly": "error",
107
+ "eol-last": [
108
+ "error",
109
+ "always"
110
+ ],
111
+ "guard-for-in": "error",
112
+ "no-labels": "error",
113
+ "max-len": [
114
+ "error",
115
+ {
116
+ "code": 140,
117
+ "tabWidth": 4,
118
+ "ignoreComments": true,
119
+ "ignoreStrings": true,
120
+ "ignoreTemplateLiterals": true,
121
+ "ignoreRegExpLiterals": true
122
+ }
123
+ ],
124
+ "no-console": [
125
+ "error",
126
+ {
127
+ "allow": [
128
+ "warn",
129
+ "dir",
130
+ "timeLog",
131
+ "assert",
132
+ "clear",
133
+ "count",
134
+ "countReset",
135
+ "group",
136
+ "groupEnd",
137
+ "table",
138
+ "dirxml",
139
+ "error",
140
+ "groupCollapsed",
141
+ "Console",
142
+ "profile",
143
+ "profileEnd",
144
+ "timeStamp",
145
+ "context"
146
+ ]
147
+ }
148
+ ],
149
+ "no-redeclare": [
150
+ "error",
151
+ {
152
+ "builtinGlobals": true
153
+ }
154
+ ],
155
+ "@typescript-eslint/no-parameter-properties": "error",
156
+ "@typescript-eslint/indent": [
157
+ "error",
158
+ 4,
159
+ {
160
+ "CallExpression": {
161
+ "arguments": "first"
162
+ },
163
+ "FunctionDeclaration": {
164
+ "parameters": "first"
165
+ },
166
+ "FunctionExpression": {
167
+ "parameters": "first"
168
+ }
169
+ }
170
+ ],
171
+ "no-debugger": "error",
172
+ "no-eval": "error",
173
+ "no-extra-semi": "error",
174
+ "no-throw-literal": "error",
175
+ "no-fallthrough": "error",
176
+ "comma-dangle": [
177
+ "error",
178
+ "never"
179
+ ],
180
+ "no-trailing-spaces": "error",
181
+ "@typescript-eslint/no-unused-expressions": "error",
182
+ "@typescript-eslint/no-var-requires": "error",
183
+ "one-var": [
184
+ "error",
185
+ "never"
186
+ ],
187
+ "@typescript-eslint/no-explicit-any": "error",
188
+ "no-cond-assign": [
189
+ "error",
190
+ "always"
191
+ ],
192
+ "@typescript-eslint/consistent-type-assertions": "off",
193
+ "jsdoc/check-alignment": "error",
194
+ "no-empty": "error",
195
+ "quotes": [
196
+ "error",
197
+ "single"
198
+ ],
199
+ "semi": [
200
+ "error",
201
+ "always"
202
+ ],
203
+ "eqeqeq": [
204
+ "error",
205
+ "smart"
206
+ ],
207
+ "valid-typeof": [
208
+ "error",
209
+ {
210
+ "requireStringLiterals": true
211
+ }
212
+ ],
213
+ "camelcase": [
214
+ "error",
215
+ {
216
+ "properties": "always",
217
+ "ignoreDestructuring": true,
218
+ "ignoreImports": true
219
+ }
220
+ ],
221
+ "no-irregular-whitespace": [
222
+ "error",
223
+ {
224
+ "skipStrings": true,
225
+ "skipComments": true,
226
+ "skipRegExps": true,
227
+ "skipTemplates": true
228
+ }
229
+ ],
230
+ "valid-jsdoc": [
231
+ "error",
232
+ {
233
+ "prefer": {
234
+ "arg": "param",
235
+ "argument": "param",
236
+ "class": "constructor",
237
+ "return": "returns",
238
+ "virtual": "abstract"
239
+ }
240
+ }
241
+ ],
242
+ "no-var": "error",
243
+ "radix": "error"
244
+ },
245
+ "reportUnusedDisableDirectives": true,
246
+ "overrides": [
247
+ {
248
+ "files": [
249
+ "node_modules",
250
+ "dist",
251
+ "public",
252
+ "coverage",
253
+ "test-report"
254
+ ],
255
+ "rules": {
256
+ "no-unused-expressions": "off"
257
+ }
258
+ }
259
+ ]
260
+ }
@@ -1,41 +1,41 @@
1
- ### Bug description
2
-
3
- (Clearly and concisely describe the problem.)
4
-
5
- ### Root Cause / Analysis
6
-
7
- (Briefly describe root cause/analysis of the problem. If there is an internal discussion on the forum, provide the link.)
8
-
9
- ### Reason for not identifying earlier
10
-
11
- (Explain how it was missed to identify in our earlier testing/development.)
12
-
13
- ### Is Breaking issue.?
14
-
15
- (If it is a breaking issue, provide the commit detail which caused this break.)
16
-
17
- ### Is reported by customer in incident/forum.?
18
-
19
- (If it is reported by customer, provide the incident or forum details.)
20
-
21
- ### Solution Description
22
-
23
- (Describe your code changes in detail for reviewers.)
24
-
25
- ### Areas affected and ensured
26
-
27
- (List out the areas are affected by your code changes.)
28
-
29
- ### E2E report details against this fix
30
-
31
- (Run E2E locally and mention the details with mail attachment.)
32
-
33
- ### Did you included unit test cases.?
34
-
35
- (Provide unit testing spec coverage details.)
36
-
37
- ### Is there any API name changes.?
38
-
39
- /label ~bug
40
- /assign @ScrumMaster
1
+ ### Bug description
2
+
3
+ (Clearly and concisely describe the problem.)
4
+
5
+ ### Root Cause / Analysis
6
+
7
+ (Briefly describe root cause/analysis of the problem. If there is an internal discussion on the forum, provide the link.)
8
+
9
+ ### Reason for not identifying earlier
10
+
11
+ (Explain how it was missed to identify in our earlier testing/development.)
12
+
13
+ ### Is Breaking issue.?
14
+
15
+ (If it is a breaking issue, provide the commit detail which caused this break.)
16
+
17
+ ### Is reported by customer in incident/forum.?
18
+
19
+ (If it is reported by customer, provide the incident or forum details.)
20
+
21
+ ### Solution Description
22
+
23
+ (Describe your code changes in detail for reviewers.)
24
+
25
+ ### Areas affected and ensured
26
+
27
+ (List out the areas are affected by your code changes.)
28
+
29
+ ### E2E report details against this fix
30
+
31
+ (Run E2E locally and mention the details with mail attachment.)
32
+
33
+ ### Did you included unit test cases.?
34
+
35
+ (Provide unit testing spec coverage details.)
36
+
37
+ ### Is there any API name changes.?
38
+
39
+ /label ~bug
40
+ /assign @ScrumMaster
41
41
  /cc @ProductOwner
@@ -1,27 +1,27 @@
1
- ### Feature description
2
-
3
- (Clearly and concisely describe the feature.)
4
-
5
- ### Analysis / Design
6
-
7
- (Briefly describe analysis of the feature. If there is an internal discussion on the Forum, provide the link.)
8
-
9
- ### Solution Description
10
-
11
- (Describe your code changes in detail for reviewers.)
12
-
13
- ### Areas affected and ensured
14
-
15
- (List out the areas are affected by your code changes.)
16
-
17
- ### Did you included unit test cases.?
18
-
19
- (Provide unit testing spec coverage details.)
20
-
21
- ### Is there any API name changes.?
22
-
23
- (Provide new or update of API details)
24
-
25
- /label ~bug
26
- /assign @ScrumMaster
27
- /cc @ProductOwner
1
+ ### Feature description
2
+
3
+ (Clearly and concisely describe the feature.)
4
+
5
+ ### Analysis / Design
6
+
7
+ (Briefly describe analysis of the feature. If there is an internal discussion on the Forum, provide the link.)
8
+
9
+ ### Solution Description
10
+
11
+ (Describe your code changes in detail for reviewers.)
12
+
13
+ ### Areas affected and ensured
14
+
15
+ (List out the areas are affected by your code changes.)
16
+
17
+ ### Did you included unit test cases.?
18
+
19
+ (Provide unit testing spec coverage details.)
20
+
21
+ ### Is there any API name changes.?
22
+
23
+ (Provide new or update of API details)
24
+
25
+ /label ~bug
26
+ /assign @ScrumMaster
27
+ /cc @ProductOwner