@nethru/ui 2.1.18 → 2.1.19
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.
- package/base/editor/Editor.js +6 -0
- package/package.json +1 -1
package/base/editor/Editor.js
CHANGED
|
@@ -153,6 +153,12 @@ export default function Editor({
|
|
|
153
153
|
let replaced = text;
|
|
154
154
|
let hints = [];
|
|
155
155
|
const config = {
|
|
156
|
+
env: {
|
|
157
|
+
es6: true
|
|
158
|
+
},
|
|
159
|
+
parserOptions: {
|
|
160
|
+
ecmaVersion: 6
|
|
161
|
+
},
|
|
156
162
|
rules: {
|
|
157
163
|
"semi": ["error", "always"],
|
|
158
164
|
"func-names": "off",
|