File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ jobs:
145145 at : ~/
146146 - run :
147147 name : Build dist/
148- command : npm run build
148+ command : npm run build && npm run no-new-func
149149 - store_artifacts :
150150 path : dist
151151 destination : dist
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}' dist/plotly-finance.js dist/plotly-basic.js dist/plotly-cartesian.js dist/plotly-geo.js dist/plotly-mapbox.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