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:
145
145
at : ~/
146
146
- run :
147
147
name : Build dist/
148
- command : npm run build
148
+ command : npm run build && npm run no-new-func
149
149
- store_artifacts :
150
150
path : dist
151
151
destination : dist
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}' dist/plotly-finance.js dist/plotly-basic.js dist/plotly-cartesian.js dist/plotly-geo.js dist/plotly-mapbox.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