mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: no-eval
``` /Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/components/helium/helium.service.js 271:7 error eval can be harmful no-eval ```
This commit is contained in:
parent
7a740b5394
commit
83d6789497
2 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,6 @@
|
|||
"no-unused-expressions": 0,
|
||||
"prefer-spread": 0,
|
||||
"no-redeclare": 0,
|
||||
"no-eval": 0,
|
||||
"no-unneeded-ternary": 0,
|
||||
"no-var": 0,
|
||||
"semi": 0,
|
||||
|
|
|
|||
|
|
@ -268,6 +268,7 @@ export default function heliumService ($http, $sce, baseUrlSrv) {
|
|||
this.load = p.then(availableBundles => {
|
||||
// evaluate bundles
|
||||
availableBundles.map(b => {
|
||||
// eslint-disable-next-line no-eval
|
||||
eval(b)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue