File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,9 @@ jobs:
166
166
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.js
167
167
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
168
168
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plot-schema.json
169
+ - run :
170
+ name : Test bundles
171
+ command : npm run no-new-func
169
172
170
173
workflows :
171
174
version : 2
Original file line number Diff line number Diff line change 31
31
"watch" : " node tasks/watch.js" ,
32
32
"lint" : " eslint --version && eslint ." ,
33
33
"lint-fix" : " eslint . --fix || true" ,
34
+ "no-new-func" : " eslint --no-ignore --no-eslintrc --rule '{no-new-func: error}' $(find dist -type f -iname '*.js' | grep -v plotly-gl* | grep -v plotly-with-meta.* | grep -v plotly.js | grep -v plotly.min.js | grep -v MathJax.js)" ,
34
35
"docker" : " node tasks/docker.js" ,
35
36
"pretest" : " node tasks/pretest.js" ,
36
37
"test-jasmine" : " karma start test/jasmine/karma.conf.js" ,
You can’t perform that action at this time.
0 commit comments