File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,9 @@ jobs:
166166 echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.js
167167 echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
168168 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
169172
170173workflows :
171174 version : 2
Original file line number Diff line number Diff line change 3131 "watch" : " node tasks/watch.js" ,
3232 "lint" : " eslint --version && eslint ." ,
3333 "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)" ,
3435 "docker" : " node tasks/docker.js" ,
3536 "pretest" : " node tasks/pretest.js" ,
3637 "test-jasmine" : " karma start test/jasmine/karma.conf.js" ,
You can’t perform that action at this time.
0 commit comments